[pacman-dev] CVS update of pacman-lib/src/util (vercmp.c)

Aaron Griffin aaron at archlinux.org
Fri Feb 9 16:08:12 EST 2007


    Date: Friday, February 9, 2007 @ 16:08:12
  Author: aaron
    Path: /home/cvs-pacman/pacman-lib/src/util

Modified: vercmp.c (1.6 -> 1.7)

* 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.


----------+
 vercmp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Index: pacman-lib/src/util/vercmp.c
diff -u pacman-lib/src/util/vercmp.c:1.6 pacman-lib/src/util/vercmp.c:1.7
--- pacman-lib/src/util/vercmp.c:1.6	Tue Jan 30 02:47:20 2007
+++ pacman-lib/src/util/vercmp.c	Fri Feb  9 16:08:12 2007
@@ -45,7 +45,7 @@
 		return(0);
 	}
 	
-	ret = alpm_versioncmp(s1, s2);
+	ret = alpm_pkg_vercmp(s1, s2);
 	printf("%d\n", ret);
 	return(ret);
 }




More information about the pacman-dev mailing list