pacman/src/util
Lukas Fleischer 8f414cd040 pactree: Make error message smarter in register_syncs()
Our error message used to be very unclear when the configuration file
could not be found:

    $ ./pactree -lsr gtk
    error: failed to register sync DBs

Instead, display an accurate message and include the file name:

    $ ./pactree -lsr gtk
    error: config file /usr/local/etc/pacman.conf could not be read

Also, move the error message inside register_syncs() to allow for
differentiating between different errors that might require a handler in
the future.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-10-10 19:09:18 -05:00
..
.gitignore pacsort: add new utility 2011-08-08 16:49:43 -05:00
Makefile.am src/util/Makefile.am: alphabetize targets 2011-08-08 16:49:49 -05:00
cleanupdelta.c utils/cleanupdelta: remove unneeded syncdbpath 2011-09-20 10:23:11 -05:00
pacsort.c src/util: provide strndup definitions where needed 2011-09-18 16:58:21 -05:00
pactree.c pactree: Make error message smarter in register_syncs() 2011-10-10 19:09:18 -05:00
testdb.c Tidy up testdb to match coding styles 2011-07-28 15:01:39 -05:00
testpkg.c Better error handling out of package load method 2011-08-28 19:52:41 -05:00
vercmp.c Remove most usages of strncmp() 2011-07-05 21:29:02 -05:00