diff options
author | Aaron Griffin <aaron@archlinux.org> | 2007-02-09 22:08:10 +0100 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-02-09 22:08:10 +0100 |
commit | f8cd4858ca35400eaf9e298ff3e0e9c245e0d1e3 (patch) | |
tree | bb8120c99d051551ef1d1a08db10981a663cc4fe /lib/libalpm/package.c | |
parent | 0ae434d9e1c96a614ed245a6a1ba595186cf4e97 (diff) | |
download | pacman-f8cd4858ca35400eaf9e298ff3e0e9c245e0d1e3.tar.gz pacman-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 'lib/libalpm/package.c')
-rw-r--r-- | lib/libalpm/package.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c index bd977902..2a9144a7 100644 --- a/lib/libalpm/package.c +++ b/lib/libalpm/package.c @@ -135,7 +135,7 @@ int alpm_pkg_compare_versions(pmpkg_t *local_pkg, pmpkg_t *pkg) } /* compare versions and see if we need to upgrade */ - cmp = alpm_versioncmp(local_pkg->version, pkg->version); + cmp = _alpm_versioncmp(local_pkg->version, pkg->version); if(cmp != 0 && pkg->force) { cmp = 1; |