summaryrefslogtreecommitdiffstats
path: root/config.rpath
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-10-26 22:51:46 +0200
committerDan McGee <dan@archlinux.org>2011-11-01 16:27:31 +0100
commit6df558177fac6bdcbd60de05038d6e6b7f224bd3 (patch)
tree43c923054e9f8fff09fb29f063a68040c8d3dd6a /config.rpath
parented3cd7573600bf8be2bda01ad75da8bae2f589fb (diff)
downloadpacman-6df558177fac6bdcbd60de05038d6e6b7f224bd3.tar.gz
pacman-6df558177fac6bdcbd60de05038d6e6b7f224bd3.tar.xz
Convert package and database archive reads to use file descriptors
This gives us a bit more control and over the archive reading process, and a bit less is done behind the scenes. It also allows us to use fstat() in preference to stat(), which should avoid some potential race conditions. Some reorganization is necessary to move the stat calls after the open() calls. Error handling and cleanup in general is also improved, as we had several potential memory and file handle leaks before in some error paths. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'config.rpath')
0 files changed, 0 insertions, 0 deletions