diff options
author | Chantry Xavier <shiningxc@gmail.com> | 2008-04-26 11:30:49 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-04-26 11:15:09 -0500 |
commit | ff9744aa1f9d3da380e722fd44a07b8c8a68d101 (patch) | |
tree | b8d65bf6d02688e9a49e712e9a4ffde206502f11 /Makefile.am | |
parent | 1b5a851851cce4ae53e82fdec128ff6d6f73393b (diff) |
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 'Makefile.am')
0 files changed, 0 insertions, 0 deletions