diff options
author | Judd Vinet <judd@archlinux.org> | 2005-12-26 16:48:37 +0000 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2005-12-26 16:48:37 +0000 |
commit | 6bd15469b1febef5d061905b0f7d8f69bf96a08f (patch) | |
tree | 11e64825a4aed1d4bfdf7306fdf36215acb57118 /lib/libalpm/alpm.c | |
parent | 58c9d5d66387821260ba9bdd0815568039462f39 (diff) | |
download | pacman-6bd15469b1febef5d061905b0f7d8f69bf96a08f.tar.xz |
renamed rpmvercmp to versioncmp, added some fixes from isteve@bofh.cz
Diffstat (limited to 'lib/libalpm/alpm.c')
-rw-r--r-- | lib/libalpm/alpm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c index 3afe0301..510d898e 100644 --- a/lib/libalpm/alpm.c +++ b/lib/libalpm/alpm.c @@ -34,7 +34,7 @@ /* pacman */ #include "log.h" #include "error.h" -#include "rpmvercmp.h" +#include "versioncmp.h" #include "md5.h" #include "list.h" #include "package.h" @@ -479,7 +479,7 @@ int alpm_pkg_free(pmpkg_t *pkg) int alpm_pkg_vercmp(const char *ver1, const char *ver2) { - return(rpmvercmp(ver1, ver2)); + return(versioncmp(ver1, ver2)); } /** @} */ |