Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/po/Makevars
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-12-23 10:12:08 -0600
committerDan McGee <dan@archlinux.org>2011-12-23 14:37:03 -0600
commit6b29374a60e1568ba626b88ca1b1da915ca0a438 (patch)
tree23df40b76e5c11bb9faefb6d21a2d3438e04b2c9 /lib/libalpm/po/Makevars
parent92216c5864efccacf2daa3f4f15de3bb479054bb (diff)
Rework package removal code
Extract the actual unlinking of files into a new method, which eliminates a goto used for flow control. Also fix up a few small issues in the code: * Unnecessary (unsigned long) cast, use '%zd' instead * Total up errors returned from unlink_file calls and return to caller * Be consistent with scriptlets- we run pre_remove on dbonly, so we should also run post_remove. Both can be disabled by way of the --noscriptlet argument. * Don't pass an invalid pointer to oldpkg to the event callbacks; instead call the callback before we free the object. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/po/Makevars')
0 files changed, 0 insertions, 0 deletions