mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 00:08:50 -05:00
6df558177f
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> |
||
---|---|---|
.. | ||
libalpm |