xbps/lib
Juan RP 013731c502 Acquire/release a POSIX file lock on repository archives.
- xbps_repo_open() accepts a third argument (bool) to acquire a POSIX file
lock on the repository archive.
- xbps_repo_close() accepts a second argument (bool) to release a POSIX file
lock on the repository archive.

This avoids the issue of multiple xbps-rindex(8) processes being blocked
even for different repositories on the same architecture, resulting in
unnecessary contention.
2014-09-05 12:26:42 +02:00
..
compat lib/compat/vasprintf.c: make this build and fix sign-compare warnings. 2013-02-02 01:31:20 +01:00
external Remove the config.h kludge and override vasprintf detection via HAVE_VASPRINTF. 2014-01-20 18:50:33 +01:00
fetch fetch: hardcode HTTPS port and fallback to /etc/services for other unknown ports. 2014-08-25 16:07:47 +02:00
portableproplib portableproplib: use __attribute__((unused)) to fix a unused-but-set-variable warning. 2014-05-29 08:32:14 +02:00
archive.c lib/archive.c: fixed memleaks in error paths; misc cleanups. 2013-08-29 11:57:57 +02:00
cb_util.c Remove the config.h kludge and override vasprintf detection via HAVE_VASPRINTF. 2014-01-20 18:50:33 +01:00
download.c lib/download.c: unconstify to fix a warning. 2014-08-13 22:11:25 +02:00
initend.c xbps_init: performance: do not chdir() unnecessarily for each conf file. 2014-08-01 15:30:43 +02:00
Makefile Share code to show pre-remove/post-install msgs. 2014-07-27 17:39:24 +02:00
package_config_files.c Fix #50 (Existent files on disk might be overwritten by packages with conf_files). 2014-07-30 16:18:57 +02:00
package_configure.c Share code to show pre-remove/post-install msgs. 2014-07-27 17:39:24 +02:00
package_conflicts.c lib/package_conflicts.c: do not add dups unnecessarily. 2014-07-13 09:34:19 +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_msg.c Share code to show pre-remove/post-install msgs. 2014-07-27 17:39:24 +02:00
package_orphans.c xbps_find_pkg_orphans: minor optimizations. 2013-12-08 08:06:28 +01:00
package_register.c pkgdb: added "repository-origin" obj to know its origin repository. 2014-05-11 10:03:17 +02:00
package_remove.c Share code to show pre-remove/post-install msgs. 2014-07-27 17:39:24 +02:00
package_script.c Added support to pass native machine architecture to pkg scripts (6th arg). 2014-03-12 10:16:37 +01:00
package_state.c Get rid of libfetch and proplib external dependencies. 2013-06-20 10:26:12 +02:00
package_unpack.c Implement support to "preserve" existent on-disk files. 2014-08-01 15:09:51 +02:00
pkgdb.c xbps_pkgdb_init: initialize xhp->pkgdb_plist if it wasn't before. 2014-03-04 14:59:58 +01:00
plist_fetch.c xbps_get_pkg_plist_from_binpkg: fix a double free, found by Gottox. 2014-08-19 10:45:46 +02:00
plist_find.c Explicitly set errno to ENOENT when a pkg hasn't been found in array/dictionaries. 2014-05-17 12:36:02 +02:00
plist_match.c libxbps: detect and ignore incorrect deps of a pkg if those are virtual pkgs. 2014-04-20 16:54:50 +02:00
plist_remove.c Get rid of libfetch and proplib external dependencies. 2013-06-20 10:26:12 +02:00
plist.c xbps_array_foreach_cb_multi: remove useless mutex. 2013-12-08 08:07:45 +01:00
proplib_wrapper.c Get rid of libfetch and proplib external dependencies. 2013-06-20 10:26:12 +02:00
pubkey2fp.c Fixed some warnings reported by clang. 2014-04-20 10:02:54 +02:00
repo_pkgdeps.c Added support to replace vpkgs when the real pkgname matches any installed vpkg. 2014-08-22 12:44:18 +02:00
repo_sync.c lib/repo_sync.c: use xbps_fetch_delta instead of xbps_fetch_file 2014-08-11 20:01:24 +02:00
repo.c Acquire/release a POSIX file lock on repository archives. 2014-09-05 12:26:42 +02:00
rpool.c Acquire/release a POSIX file lock on repository archives. 2014-09-05 12:26:42 +02:00
transaction_commit.c libxbps: optimize rootdir access/creation by checking/creating it only once. 2014-05-27 10:02:01 +02:00
transaction_dictionary.c Finally fixed vpkg02 test (vpkg provider in transaction). 2014-09-04 10:13:02 +02:00
transaction_ops.c Finally fixed vpkg02 test (vpkg provider in transaction). 2014-09-04 10:13:02 +02:00
transaction_package_replace.c libxbps: detect and ignore incorrect deps of a pkg if those are virtual pkgs. 2014-04-20 16:54:50 +02:00
transaction_revdeps.c Use C99 for loop initializers. 2013-09-15 10:06:49 +02:00
transaction_sortdeps.c transaction_sort: if curdep == curpkg don't do any sorting, it's sorted already. 2014-07-06 09:32:06 +02:00
util_hash.c xbps_file_hash: simplify and use read(2). 2013-11-26 13:08:44 +01:00
util.c xbps_pkg_is_installed(): a pkg in "unpacked" state is now accepted as installed too. 2014-08-23 15:54:24 +02:00
verifysig.c xbps_verify_file_signature: there's no repo->hexfp anymore, compute it instead. 2014-01-30 19:34:26 +01:00