diff options
author | Dan McGee <dan@archlinux.org> | 2007-06-04 12:51:23 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-06-04 23:10:49 -0400 |
commit | 358cc5804a2df873180e6d9ef2420ab3247f8437 (patch) | |
tree | 9254dd518c1873aebe78f548d311202a6f1fe2aa /lib/libalpm/error.c | |
parent | 6949ab97613de3622a4c392a3d33080164eec794 (diff) | |
download | pacman-358cc5804a2df873180e6d9ef2420ab3247f8437.tar.xz |
Rip alpm_parse_config out of libalpm
Switch over to the new frontend parseconfig.
* Fix a few issues in parseconfig
* Remove unused callback upon database registration
* Remove conf file related errors from error.c/alpm.h
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/error.c')
-rw-r--r-- | lib/libalpm/error.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/libalpm/error.c b/lib/libalpm/error.c index aa930b9e..0775567c 100644 --- a/lib/libalpm/error.c +++ b/lib/libalpm/error.c @@ -138,15 +138,6 @@ char SYMEXPORT *alpm_strerror(int err) case PM_ERR_PKG_HOLD: /* TODO wow this is not descriptive at all... what does this mean? */ return _("not confirmed"); - /* Configuration file */ - case PM_ERR_CONF_BAD_SECTION: - return _("bad configuration section name"); - case PM_ERR_CONF_LOCAL: - return _("'local' is reserved and cannot be used as a repository name"); - case PM_ERR_CONF_BAD_SYNTAX: - return _("syntax error in config file"); - case PM_ERR_CONF_DIRECTIVE_OUTSIDE_SECTION: - return _("all directives must belong to a section"); case PM_ERR_INVALID_REGEX: return _("invalid regular expression"); /* Downloading */ |