[pacman-dev] CVS update of pacman-lib/lib/libalpm (deps.c)

Aaron Griffin aaron at archlinux.org
Mon Apr 23 00:01:37 EDT 2007


    Date: Monday, April 23, 2007 @ 00:01:37
  Author: aaron
    Path: /home/cvs-pacman/pacman-lib/lib/libalpm

Modified: deps.c (1.80 -> 1.81)

* Nagy Gabor <ngaba at petra.hos.u-szeged.hu>
Using the wrong variable in sortbydeps 


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


Index: pacman-lib/lib/libalpm/deps.c
diff -u pacman-lib/lib/libalpm/deps.c:1.80 pacman-lib/lib/libalpm/deps.c:1.81
--- pacman-lib/lib/libalpm/deps.c:1.80	Mon Mar 19 00:23:45 2007
+++ pacman-lib/lib/libalpm/deps.c	Mon Apr 23 00:01:37 2007
@@ -163,7 +163,7 @@
 					for(l = alpm_pkg_get_provides(q); l; l = l->next) {
 						const char *provname = l->data;
 						if(!strcmp(depend->name, provname)) {
-							if(!_alpm_pkg_find(provname, tmptargs)) {
+							if(!_alpm_pkg_find(qname, tmptargs)) {
 								change = 1;
 								tmptargs = alpm_list_add(tmptargs, q);
 							}




More information about the pacman-dev mailing list