xbps/include
Juan RP b23855f692 xbps_repo_close: only unlock the file lock if repo was opened as such.
If xbps_repo_open() was called with the lock arg set, xbps_repo_close()
will now unlock the repo file lock, without the need to set it.

This avoids the need to always unlock the file lock even if it wasn't
locked previously. This also introduceds an ABI/API break, but this
way it's cleaner.
2015-01-11 09:11:38 +01:00
..
xbps Introduce xbps_array_add_first() to insert obj at the head of array. 2014-11-13 15:18:21 +01:00
compat.h include/compat.h: fix musl build and include inttypes.h. 2014-07-14 08:50:14 +02:00
mainpage.h
Makefile Make system/config repo.d paths always relative to rootdir. 2014-05-31 06:44:07 +02:00
queue.h Update queue.h with latest NetBSD's version. 2011-01-30 15:08:57 +01:00
xbps_api_impl.h Fixed a regression in vpkgs and improve xbps.d(5) virtualpkg declarations. 2014-12-31 08:51:45 +01:00
xbps.h.in xbps_repo_close: only unlock the file lock if repo was opened as such. 2015-01-11 09:11:38 +01:00