1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-16 14:25:21 -05:00
pacman/lib/libalpm
Dave Reisner 3847446603 lib/util: call _alpm_log before setting handle->pm_errno
This is an unfortunate chain of events. RET_ERR and RET_ERR_VOID will
eventually call CHECK_HANDLE, which resets the handle's pm_errno member.
Dan probably had a reason for doing this, so we merely switch the order
of operations in the RET_ERR macros to avoid stomping on our pm_errno.

Signed-off-by: Dave Reisner <d@falconindy.com>
2011-06-20 10:43:54 -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 Ensure handle is valid and pm_errno is reset when calling into API 2011-06-14 10:01:08 -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 Ensure handle is valid and pm_errno is reset when calling into API 2011-06-14 10:01:08 -05:00
alpm.h Make pmgrp_t public 2011-06-16 11:58:04 -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 Documented purpose of be_*.c 2011-06-20 00:17:54 -05:00
be_package.c Documented purpose of be_*.c 2011-06-20 00:17:54 -05:00
be_sync.c Documented purpose of be_*.c 2011-06-20 00:17:54 -05:00
conflict.c Make struct pmconflict_t public 2011-06-16 11:57:30 -05:00
conflict.h Make struct pmconflict_t public 2011-06-16 11:57:30 -05:00
db.c Ensure handle is valid and pm_errno is reset when calling into API 2011-06-14 10:01:08 -05:00
db.h Add a helper method for retrieving the DB signature path 2011-06-13 19:41:37 -05:00
delta.c Correctly duplicate delta objects 2011-06-20 00:10:11 -05:00
delta.h Correctly duplicate delta objects 2011-06-20 00:10:11 -05:00
deps.c Make pmdepend_t and pmdepmissing_t public 2011-06-16 11:57:33 -05:00
deps.h Make pmdepend_t and pmdepmissing_t public 2011-06-16 11:57:33 -05:00
diskspace.c Switch all logging to use handle directly 2011-06-13 19:41:16 -05:00
diskspace.h Remove global handle from diskspace.c 2011-06-03 12:36:13 -05:00
dload.c Documented _alpm_download() 2011-06-20 00:18:03 -05:00
dload.h Move pm_errno onto the handle 2011-06-13 19:38:38 -05:00
error.c Move pm_errno onto the handle 2011-06-13 19:38:38 -05:00
graph.c Move pm_errno onto the handle 2011-06-13 19:38:38 -05:00
graph.h Include "config.h" in header files using off_t 2011-04-15 18:40:32 -05:00
group.c Make pmgrp_t public 2011-06-16 11:58:04 -05:00
group.h Make pmgrp_t public 2011-06-16 11:58:04 -05:00
handle.c Improve cachedir removal and error handling 2011-06-20 00:18:29 -05:00
handle.h API: change 'signaturedir' to 'gpgdir' 2011-06-15 12:02:29 -05:00
log.c Don't call public API in _alpm_log() 2011-06-20 00:03:53 -05:00
log.h Switch all logging to use handle directly 2011-06-13 19:41:16 -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 Correctly duplicate delta objects 2011-06-20 00:10:11 -05:00
package.h Add handle argument to _alpm_pkg_should_ignore() 2011-06-14 08:38:51 -05:00
pkghash.c Switch all logging to use handle directly 2011-06-13 19:41:16 -05:00
pkghash.h alpm: remove public visibility of pmpkghash_t 2011-02-25 09:45:13 -06:00
remove.c Ensure handle is valid and pm_errno is reset when calling into API 2011-06-14 10:01:08 -05:00
remove.h Remove global handle from remove.c 2011-06-03 12:53:53 -05:00
signing.c API: change 'signaturedir' to 'gpgdir' 2011-06-15 12:02:29 -05:00
signing.h Require handle argument to all alpm_option_(get|set)_*() methods 2011-06-09 14:24:45 -05:00
sync.c Make pmgrp_t public 2011-06-16 11:58:04 -05:00
sync.h Remove global handle dependencies from sync/upgrade paths 2011-06-03 13:18:36 -05:00
trans.c Ensure handle is valid and pm_errno is reset when calling into API 2011-06-14 10:01:08 -05:00
trans.h Move pm_errno onto the handle 2011-06-13 19:38:38 -05:00
util.c Clean up util md5sum method 2011-06-20 00:08:15 -05:00
util.h lib/util: call _alpm_log before setting handle->pm_errno 2011-06-20 10:43:54 -05:00
version.c Style change: return(x) --> return x 2011-03-20 19:49:45 -05:00