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

Aaron Griffin aaron at archlinux.org
Wed Jan 31 21:16:14 EST 2007


    Date: Wednesday, January 31, 2007 @ 21:16:14
  Author: aaron
    Path: /home/cvs-pacman/pacman-lib/src/pacman

Modified: package.c (1.25 -> 1.26)

-Ql needs the 'root' prepended to each file


-----------+
 package.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


Index: pacman-lib/src/pacman/package.c
diff -u pacman-lib/src/pacman/package.c:1.25 pacman-lib/src/pacman/package.c:1.26
--- pacman-lib/src/pacman/package.c:1.25	Mon Jan 29 23:15:14 2007
+++ pacman-lib/src/pacman/package.c	Wed Jan 31 21:16:13 2007
@@ -203,7 +203,8 @@
 	pkgfiles = alpm_pkg_get_files(pkg);
 
 	for(i = pkgfiles; i; i = alpm_list_next(i)) {
-		fprintf(stdout, "%s %s\n", (char *)pkgname, (char *)alpm_list_getdata(i));
+		fprintf(stdout, "%s %s%s\n", pkgname, alpm_option_get_root(),
+						(char *)alpm_list_getdata(i));
 	}
 
 	fflush(stdout);




More information about the pacman-dev mailing list