The following commit has been merged in the master branch:
commit 0a85d64a50ebb3bb2d5f06f368e68b6f902533fa
Author: Guillem Jover <guil...@debian.org>
Date:   Sat Jun 26 07:26:25 2010 +0200

    dpkg: Place deferred extract rename debug message closer to the action

diff --git a/src/archives.c b/src/archives.c
index ac268bb..2ca526e 100644
--- a/src/archives.c
+++ b/src/archives.c
@@ -848,8 +848,6 @@ tar_deferred_extract(struct fileinlist *files, struct 
pkginfo *pkg)
     if (!(cfile->namenode->flags & fnnf_deferred_rename))
       continue;
 
-    debug(dbg_eachfiledetail, "deferred extract needs rename");
-
     usenode = namenodetouse(cfile->namenode, pkg);
     usename = usenode->name + 1; /* Skip the leading '/'. */
 
@@ -873,6 +871,8 @@ tar_deferred_extract(struct fileinlist *files, struct 
pkginfo *pkg)
     }
 #endif
 
+    debug(dbg_eachfiledetail, "deferred extract needs rename");
+
     if (rename(fnamenewvb.buf, fnamevb.buf))
       ohshite(_("unable to install new version of `%.255s'"),
               cfile->namenode->name);

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to debian-dpkg-cvs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to