summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/db.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-04-29 05:19:56 +0200
committerDan McGee <dan@archlinux.org>2008-04-29 05:24:40 +0200
commit4e6361642e632b8631e3d12ee33b1cf5293edb83 (patch)
tree7f44d9d9ac2b277dd6f3c610604b066e20407bc8 /lib/libalpm/db.c
parent1201c8ce3aa6a8622400e4423c532c19e83f48aa (diff)
downloadpacman-4e6361642e632b8631e3d12ee33b1cf5293edb83.tar.gz
pacman-4e6361642e632b8631e3d12ee33b1cf5293edb83.tar.xz
Rework extract_single_file() temp file creation
We were a bit juryrigged using one call to mkstemp() before rather than extracting the new files side-by-side and doing our comparisons there. We were also facing some permissions issues. Instead, make our life easier by extracting all temp files to a '.paccheck' extension, doing our md5 comparisons, and then taking the correct actions. Still to be done here- a cleanup of the use of PATH_MAX which should not be necessary if we use dynamic allocation on the heap. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/db.c')
0 files changed, 0 insertions, 0 deletions