diff options
author | Dan McGee <dan@archlinux.org> | 2007-07-16 03:36:46 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-07-16 03:36:46 +0200 |
commit | 591bfabbd38bf4f8f209977f416a4e5fd3cc2baf (patch) | |
tree | 981fd7d395997355d03681e301fa882889ef97b7 /etc/pacman.d/mirrorlist.in | |
parent | aaf291c11c4e2492d008d6599b166be831314512 (diff) | |
download | pacman-591bfabbd38bf4f8f209977f416a4e5fd3cc2baf.tar.gz pacman-591bfabbd38bf4f8f209977f416a4e5fd3cc2baf.tar.xz |
Clean up libalpm/add.c and revise file extraction code
This is a full refactoring of _alpm_add_commit into multiple functions and a
better layout for later. Some highlights:
* No regressions in pactest performance.
* Much cleaner layout. add_commit is split into four functions:
upgrade_remove, extract_single_file, commit_single_pkg, _alpm_add_commit
* No more super-functions, the heaviest (extract_single_file) is finally
under 400 lines, with much improved commenting as well.
* Incorporation of Andrew Fyfe's ideas for fixing FS #7484. Try to handle
all possible cases of extraction combinations with files, symlinks, dirs,
and non-existant entries on the filesystem. This should make our dealings
with libarchive fall more into our control.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'etc/pacman.d/mirrorlist.in')
0 files changed, 0 insertions, 0 deletions