pacman: be more descriptive when opening an include fails
commit392fffe24126c1d0404ead75c1743411fe65310a
authorDave Reisner <dreisner@archlinux.org>
Wed, 4 Jul 2012 03:53:24 +0000 (3 23:53 -0400)
committerDan McGee <dan@archlinux.org>
Tue, 10 Jul 2012 13:39:20 +0000 (10 08:39 -0500)
tree5bb2e15789fc69770d5115f5b6d62c805197224b
parente0daaea38cf7b06bdf9534d793f7fb64cc59cbf6
pacman: be more descriptive when opening an include fails

if fopen returns NULL, append the libc strerror-ized error message to
our own error message.

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
src/pacman/conf.c