summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-02-09 21:08:10 +0000
committerAaron Griffin <aaron@archlinux.org>2007-02-09 21:08:10 +0000
commitf8cd4858ca35400eaf9e298ff3e0e9c245e0d1e3 (patch)
treebb8120c99d051551ef1d1a08db10981a663cc4fe /src/util
parent0ae434d9e1c96a614ed245a6a1ba595186cf4e97 (diff)
downloadpacman-f8cd4858ca35400eaf9e298ff3e0e9c245e0d1e3.tar.xz
* I made "alpm_versioncmp" public a while back, without noticing this was already done (alpm_pkg_vercmp). I dropped this change, making versioncmp "private" again. (alpm_versioncmp -> _alpm_versioncmp, hidden symbol)
* Make alpm_get_upgrades use the same version check that -Su and -S use.
Diffstat (limited to 'src/util')
-rw-r--r--src/util/vercmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/vercmp.c b/src/util/vercmp.c
index e1f2345d..75972532 100644
--- a/src/util/vercmp.c
+++ b/src/util/vercmp.c
@@ -45,7 +45,7 @@ int main(int argc, char *argv[])
return(0);
}
- ret = alpm_versioncmp(s1, s2);
+ ret = alpm_pkg_vercmp(s1, s2);
printf("%d\n", ret);
return(ret);
}