summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-01-22 18:38:34 +0100
committerDan McGee <dan@archlinux.org>2011-01-22 18:38:34 +0100
commitcda7d7847f3434959ef077ec6eb78ea4b2078a5a (patch)
tree5fc4424639cbfbac2531e726b628c0912a0ba397 /.gitignore
parentc91bd3dda9540bb80f9e73fed87eee69b4675977 (diff)
downloadpacman-cda7d7847f3434959ef077ec6eb78ea4b2078a5a.tar.gz
pacman-cda7d7847f3434959ef077ec6eb78ea4b2078a5a.tar.xz
Be smarter about failure to read backup file contents
Instead of always printing MISSING, we can switch on the errno value set by access() and print a more useful string. In this case, handle files we can't read by printing UNREADABLE, print MISSING on ENOENT, and print UNKNOWN for anything else. Fixes FS#22546. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions