1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-23 00:08:50 -05:00
pacman/lib/libalpm
Dan McGee cc25576f8b Use standard errno codes in return from _alpm_archive_fgets
This allows us to not require the context (e.g. handle) when calling
this function. Also beef up the checks in the two callers of this
function to bail if the last return code is not ARCHIVE_EOF, which is
the expected value.

This requires a change to one of the pactest return codes and the
overall result of the test, but results in a much safer operating
condition whereby invalid database entries will stop the operation.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-03 14:37:51 -05:00
..
po 3.5.2 translation updates from Transifex 2011-04-18 11:26:20 -05:00
.gitignore Remove unnecessary entries from .gitignore files 2007-07-16 16:49:28 -04:00
add.c Remove global handle dependencies from sync/upgrade paths 2011-06-03 13:18:36 -05:00
add.h Remove global handle dependencies from sync/upgrade paths 2011-06-03 13:18:36 -05:00
alpm_list.c Merge branch 'maint' 2011-06-01 12:13:49 -05:00
alpm_list.h Add new alpm_list_remove_item() function 2011-02-04 09:55:46 +10:00
alpm.c Remove global handle from some package and db code 2011-06-03 12:44:01 -05:00
alpm.h Add handle attribute to pmdb_t struct 2011-06-03 12:06:25 -05:00
backup.c Remove ALPM_LOG_FUNC macro 2011-06-03 11:48:24 -05:00
backup.h Update copyright years for 2011 2011-01-07 18:47:37 -06:00
base64.c Add base64 algorithms from PolarSSL to libalpm 2011-03-23 02:22:00 -05:00
base64.h Add base64 algorithms from PolarSSL to libalpm 2011-03-23 02:22:00 -05:00
be_local.c Remove global handle from some package and db code 2011-06-03 12:44:01 -05:00
be_package.c Use standard errno codes in return from _alpm_archive_fgets 2011-06-03 14:37:51 -05:00
be_sync.c Use standard errno codes in return from _alpm_archive_fgets 2011-06-03 14:37:51 -05:00
conflict.c Remove global handle dependencies from sync/upgrade paths 2011-06-03 13:18:36 -05:00
conflict.h Remove global handle dependencies from sync/upgrade paths 2011-06-03 13:18:36 -05:00
db.c Remove global handle from some package and db code 2011-06-03 12:44:01 -05:00
db.h Remove global handle from some package and db code 2011-06-03 12:44:01 -05:00
delta.c Remove ALPM_LOG_FUNC macro 2011-06-03 11:48:24 -05:00
delta.h Include "config.h" in header files using off_t 2011-04-15 18:40:32 -05:00
deps.c Push down extern handle variable to files that need it 2011-06-03 12:23:32 -05:00
deps.h Ensure reported missing dependencies show correct version comparison 2011-03-25 15:43:08 -05:00
diskspace.c Remove global handle from diskspace.c 2011-06-03 12:36:13 -05:00
diskspace.h Remove global handle from diskspace.c 2011-06-03 12:36:13 -05:00
dload.c Push down extern handle variable to files that need it 2011-06-03 12:23:32 -05:00
dload.h libalpm/dload: major refactor of signature downloading 2011-04-22 17:08:33 -05:00
error.c Push down extern handle variable to files that need it 2011-06-03 12:23:32 -05:00
graph.c Move graph.h functions into graph.c 2011-04-15 18:36:53 -05:00
graph.h Include "config.h" in header files using off_t 2011-04-15 18:40:32 -05:00
group.c Remove ALPM_LOG_FUNC macro 2011-06-03 11:48:24 -05:00
group.h Update copyright years for 2011 2011-01-07 18:47:37 -06:00
handle.c Remove ALPM_LOG_FUNC macro 2011-06-03 11:48:24 -05:00
handle.h Push down extern handle variable to files that need it 2011-06-03 12:23:32 -05:00
log.c Push down extern handle variable to files that need it 2011-06-03 12:23:32 -05:00
log.h Remove ALPM_LOG_FUNC macro 2011-06-03 11:48:24 -05:00
Makefile.am Allow conditional compilation with GPGME 2011-04-27 16:58:58 -05:00
md5.c libalpm md5: use larger and dynamic buffer 2010-09-02 10:33:21 -05:00
md5.h libalpm/md5: Fix license header 2008-06-03 21:31:31 -05:00
package.c Remove global handle from some package and db code 2011-06-03 12:44:01 -05:00
package.h Add handle attribute to pmpkg_t struct 2011-06-03 12:13:22 -05:00
pkghash.c Remove ALPM_LOG_FUNC macro 2011-06-03 11:48:24 -05:00
pkghash.h alpm: remove public visibility of pmpkghash_t 2011-02-25 09:45:13 -06:00
remove.c Remove global handle from remove.c 2011-06-03 12:53:53 -05:00
remove.h Remove global handle from remove.c 2011-06-03 12:53:53 -05:00
signing.c Remove ALPM_LOG_FUNC macro 2011-06-03 11:48:24 -05:00
signing.h Rein in the complexity of the signature type 2011-04-24 10:48:33 -05:00
sync.c Remove global handle dependencies from sync/upgrade paths 2011-06-03 13:18:36 -05:00
sync.h Remove global handle dependencies from sync/upgrade paths 2011-06-03 13:18:36 -05:00
trans.c Remove global handle dependencies from sync/upgrade paths 2011-06-03 13:18:36 -05:00
trans.h Remove global handle from util.c 2011-06-03 12:33:18 -05:00
util.c Use standard errno codes in return from _alpm_archive_fgets 2011-06-03 14:37:51 -05:00
util.h Remove global handle from util.c 2011-06-03 12:33:18 -05:00
version.c Style change: return(x) --> return x 2011-03-20 19:49:45 -05:00