diff options
author | Dave Reisner <d@falconindy.com> | 2011-06-18 19:21:21 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-20 10:43:54 -0500 |
commit | 3847446603036e3a873c2d0bc0cdd6c1aa19fc2e (patch) | |
tree | 0dce555a8871788650b0668de14cb7da11d8aaae /scripts | |
parent | 81e6071e0f0c6ea1f4bb654e3e98493c4650e858 (diff) | |
download | pacman-3847446603036e3a873c2d0bc0cdd6c1aa19fc2e.tar.xz |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions