The following commit has been merged in the master branch:
commit 9465dc221630938fb24034ddbb34f29fae09ea42
Author: Guillem Jover <[email protected]>
Date:   Fri Nov 13 04:07:01 2009 +0100

    dpkg: Pass struct pkginfo instead of the package name to log_action
    
    Thinko from commit 85b9b00518419b23c209bb6567566b99f004241f.

diff --git a/src/processarc.c b/src/processarc.c
index 02df23f..925f5c9 100644
--- a/src/processarc.c
+++ b/src/processarc.c
@@ -1040,7 +1040,7 @@ void process_archive(const char *filename) {
 
     printf(_("(Noting disappearance of %s, which has been completely 
replaced.)\n"),
            otherpkg->name);
-    log_action("disappear", otherpkg->name);
+    log_action("disappear", otherpkg);
     debug(dbg_general, "process_archive disappearing %s",otherpkg->name);
     /* No, we're disappearing it.  This is the wrong time to go and
      * run maintainer scripts and things, as we can't back out.  But

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to