diff options
author | Dan McGee <dan@archlinux.org> | 2007-08-21 21:28:05 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-08-21 21:28:05 -0400 |
commit | c22e381a8b86412b6c181446128affe32ab1d71e (patch) | |
tree | 198d527a3d49819f57fabd8355673328969cc893 /lib/libalpm/error.c | |
parent | 13525255dcd257e69d7c246bf32ceb263fbc31b9 (diff) | |
download | pacman-c22e381a8b86412b6c181446128affe32ab1d71e.tar.xz |
Post trial install changes, round one
A bunch of changes related to my first "real" install of pacman-git into
/usr/local and trying to use it.
* Shift some uses of free -> FREE in libalpm.
* Move stat and sanity checks of config paths into libalpm from the
config and argument parsing in pacman.c.
* Fix issue where dbpath still was not defined early enough due to its
requirement for being used in alpm_db_register. This should be rewritten
so it doesn't have this dependency, but this will work for now.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/error.c')
-rw-r--r-- | lib/libalpm/error.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libalpm/error.c b/lib/libalpm/error.c index 29ee61ad..b5e301aa 100644 --- a/lib/libalpm/error.c +++ b/lib/libalpm/error.c @@ -42,6 +42,8 @@ const char SYMEXPORT *alpm_strerror(int err) return _("insufficient privileges"); case PM_ERR_NOT_A_FILE: return _("could not find or read file"); + case PM_ERR_NOT_A_DIR: + return _("could not find or read directory"); case PM_ERR_WRONG_ARGS: return _("wrong or NULL argument passed"); /* Interface */ |