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

Aaron Griffin aaron at archlinux.org
Mon Mar 12 19:26:48 EDT 2007


    Date: Monday, March 12, 2007 @ 19:26:48
  Author: aaron
    Path: /home/cvs-pacman/pacman-lib/lib/libalpm

Modified: server.c (1.25 -> 1.26)

* Missed a path when requiring that all paths end with / - this caused -U not to
  work (it was downloading files as .package-name) at all.


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


Index: pacman-lib/lib/libalpm/server.c
diff -u pacman-lib/lib/libalpm/server.c:1.25 pacman-lib/lib/libalpm/server.c:1.26
--- pacman-lib/lib/libalpm/server.c:1.25	Mon Mar  5 23:22:03 2007
+++ pacman-lib/lib/libalpm/server.c	Mon Mar 12 19:26:47 2007
@@ -407,7 +407,7 @@
 		alpm_list_t *servers = alpm_list_add(NULL, server);
 		alpm_list_t *files = alpm_list_add(NULL, filename);
 
-		if(_alpm_downloadfiles(servers, ".", files)) {
+		if(_alpm_downloadfiles(servers, "./", files)) {
 			_alpm_log(PM_LOG_WARNING, _("failed to download %s"), target);
 			return(NULL);
 		}




More information about the pacman-dev mailing list