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

Aaron Griffin aaron at archlinux.org
Mon Jan 22 04:27:01 EST 2007


    Date: Monday, January 22, 2007 @ 04:27:01
  Author: aaron
    Path: /home/cvs-pacman/pacman-lib/lib/libalpm

Modified: alpm_list.c (1.1 -> 1.2)

Introduced an infinite loop during the pmlist -> alpm_list transition, whoops


-------------+
 alpm_list.c |    1 +
 1 file changed, 1 insertion(+)


Index: pacman-lib/lib/libalpm/alpm_list.c
diff -u pacman-lib/lib/libalpm/alpm_list.c:1.1 pacman-lib/lib/libalpm/alpm_list.c:1.2
--- pacman-lib/lib/libalpm/alpm_list.c:1.1	Fri Jan 19 04:28:44 2007
+++ pacman-lib/lib/libalpm/alpm_list.c	Mon Jan 22 04:27:00 2007
@@ -420,6 +420,7 @@
 		if(lp->data && strcmp((const char *)lp->data, needle) == 0) {
 			return(1);
 		}
+		lp = lp->next;
 	}
 	return(0);
 }




More information about the pacman-dev mailing list