summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChantry Xavier <shiningxc@gmail.com>2008-04-26 11:30:49 +0200
committerDan McGee <dan@archlinux.org>2008-04-26 18:15:09 +0200
commitff9744aa1f9d3da380e722fd44a07b8c8a68d101 (patch)
treeb8d65bf6d02688e9a49e712e9a4ffde206502f11 /lib
parent1b5a851851cce4ae53e82fdec128ff6d6f73393b (diff)
downloadpacman-ff9744aa1f9d3da380e722fd44a07b8c8a68d101.tar.gz
pacman-ff9744aa1f9d3da380e722fd44a07b8c8a68d101.tar.xz
Refactor the trans init and release code.
The calls to alpm_trans_init and alpm_trans_release (+ error checking) were duplicated between remove.c, sync.c and upgrade.c This patch introduces trans_init and trans_release functions in util.c to have this code just once. So instead of having to do the same change 3 times for fixing FS#10273, I just had to do it once (so I did it too :)) Signed-off-by: Chantry Xavier <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions