xbps/lib
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
..
compat
external lib/external/fexec.c: fix build with glibc>=2.20 (needs _DEFAULT_SOURCE). 2014-09-08 18:46:12 +02:00
fetch libfetch: misc cleanups due to nbcompat removal. 2014-12-28 03:34:36 +01:00
portableproplib lib/portableproplib/prop_array.c: comment out another debug printf. 2014-11-13 15:22:58 +01:00
archive.c xbps-query(8: added --cat=FILE mode support. 2014-11-17 15:45:46 +01:00
cb_util.c
download.c Remove xdelta support: it never worked and wasn't fully implemented. 2014-10-24 11:04:51 +02:00
initend.c Improve xbps_end() and use it before exit(3)ing. 2015-01-10 19:11:31 +01:00
Makefile libfetch: misc cleanups due to nbcompat removal. 2014-12-28 03:34:36 +01:00
package_config_files.c lib/package_config_files.c: resource leak (CID 62682) 2014-10-05 09:13:03 +02:00
package_configure.c xbps-reconfigure(8): new option -i, --ignore to ignore pkgs with -a, --all. 2014-12-09 13:10:48 +01:00
package_conflicts.c libxbps: fixed replaces/replace_vpkg test case. 2014-09-14 12:50:17 +02:00
package_find_obsoletes.c lib/package_find_obsoletes.c: avoid many heap allocs and simplify. 2014-05-22 10:41:31 +02:00
package_fulldeptree.c Introduce xbps_{pkgdb,rpool}_get_pkg_fulldeptree(). 2014-11-20 09:23:51 +01:00
package_msg.c lib/package_msg.c: fix a heap overflow (noticed by @Gottox). 2014-09-16 09:13:32 +02:00
package_orphans.c libxbps: detection of orphaned packages is now 66% faster. 2015-01-10 05:43:35 +01:00
package_register.c Remove empty self replaced pkg arrays from pkgdb. 2014-09-14 18:16:43 +02:00
package_remove.c lib/package_remove.c: simplify link relative check. 2014-10-25 10:32:58 +02:00
package_script.c Replaced config/system {repo,preserve,virtualpkg}.d with a single directory. 2014-11-06 09:58:04 +01:00
package_state.c
package_unpack.c unpack: get rid of code that checks for modified symlinks. 2014-10-25 06:52:12 +02:00
pkgdb_conversion.c pkgdb: switch to zplists by default. 2014-10-17 10:11:56 +02:00
pkgdb.c xbps_pkgdb_update: added 3rd bool arg "update", not update in memory pkgdb. 2015-01-10 19:42:09 +01:00
plist_fetch.c libfetch: fix races in the cache connection code. 2014-12-23 10:52:54 +01:00
plist_find.c Fixed a regression with virtual packages declared via xbps.d(5). 2015-01-05 16:04:22 +01:00
plist_match.c libxbps: the provides obj now expects exact pkgver strings. 2015-01-10 07:26:23 +01:00
plist_remove.c Add xbps_remove_{pkgname,string}_from_array() to the API. 2014-09-13 18:13:25 +02:00
plist.c lib/plist.c: CID 62704 (argument cannot be negative) 2014-10-05 13:22:28 +02:00
proplib_wrapper.c Introduce xbps_array_add_first() to insert obj at the head of array. 2014-11-13 15:18:21 +01:00
pubkey2fp.c lib/pubkey2fp.c: fix CID 62724 correctly. 2014-10-07 09:34:14 +02:00
repo_pkgdeps.c Make sure that automatic/manual installation modes are set as expected. 2014-10-20 07:59:06 +02:00
repo_sync.c xbps_repo_sync: fix regression introduced in 87ca42f3. 2014-10-24 11:16:24 +02:00
repo.c xbps_repo_close: only unlock the file lock if repo was opened as such. 2015-01-11 09:11:38 +01:00
rpool.c xbps_repo_close: only unlock the file lock if repo was opened as such. 2015-01-11 09:11:38 +01:00
transaction_commit.c xbps_pkgdb_update: added 3rd bool arg "update", not update in memory pkgdb. 2015-01-10 19:42:09 +01:00
transaction_dictionary.c xbps_transaction_prepare: check for unresolved shlibs a bit early. 2014-11-13 11:39:20 +01:00
transaction_ops.c Replaced config/system {repo,preserve,virtualpkg}.d with a single directory. 2014-11-06 09:58:04 +01:00
transaction_package_replace.c Introduce xbps_array_add_first() to insert obj at the head of array. 2014-11-13 15:18:21 +01:00
transaction_revdeps.c Replaced redundant dependency sorting code with a simpler implementation. 2014-10-18 12:35:47 +02:00
transaction_shlibs.c Replaced redundant dependency sorting code with a simpler implementation. 2014-10-18 12:35:47 +02:00
transaction_store.c Make sure that automatic/manual installation modes are set as expected. 2014-10-20 07:59:06 +02:00
util_hash.c Introduce xbps_mmap_file() and use it in strategic points. 2014-09-27 13:00:34 +02:00
util.c xbps_binpkg_{arch,pkgver}: return a buffer of matched string instead. 2014-11-19 11:56:16 +01:00
verifysig.c lib/verifysig.c: resource leak (CID 62727) 2014-10-05 07:27:13 +02:00