summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/po/de.po
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2012-02-11 07:17:59 +0100
committerDan McGee <dan@archlinux.org>2012-02-13 17:03:05 +0100
commit7a3f59cd66a4f70641b863ebaaf52674b921bf3c (patch)
tree7c1435bb6067545353e949a811983ec7b972c88f /lib/libalpm/po/de.po
parent8741551dc94d506df72b5ae8453bca1e4d50dbab (diff)
downloadpacman-7a3f59cd66a4f70641b863ebaaf52674b921bf3c.tar.gz
pacman-7a3f59cd66a4f70641b863ebaaf52674b921bf3c.tar.xz
Reset errno before opening archive
Set errno to 0 at the start of _alpm_open_archive as it is not set when archive_read_open_fd fails. This can result in _alpm_pkg_load_internal thinking errno == ENOENT and setting the wrong pm_errno. e.g. Before: > testpkg pacman-4.0.1-4-i686.pkg.tar.gz.sig error: could not open file pacman-4.0.1-4-i686.pkg.tar.gz.sig: Unrecognized archive format Cannot find the given file. After: > testpkg pacman-4.0.1-4-i686.pkg.tar.gz.sig error: could not open file pacman-4.0.1-4-i686.pkg.tar.gz.sig: Unrecognized archive format Cannot open the given file. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/po/de.po')
0 files changed, 0 insertions, 0 deletions