Added subprocess to segfault error
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:55:35 +0000 (16:55 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:55:35 +0000 (16:55 +0000)
Author: jgg
Date: 1999-12-12 03:48:36 GMT
Added subprocess to segfault error

apt-pkg/deb/dpkgpm.cc
debian/changelog

index 685bd42..a9982bc 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: dpkgpm.cc,v 1.15 1999/12/10 06:30:42 jgg Exp $
+// $Id: dpkgpm.cc,v 1.16 1999/12/12 03:48:36 jgg Exp $
 /* ######################################################################
 
    DPKG Package Manager - Provide an interface to dpkg
@@ -381,12 +381,12 @@ bool pkgDPkgPM::Go()
       {
         RunScripts("DPkg::Post-Invoke");
         if (WIFSIGNALED(Status) != 0 && WTERMSIG(Status) == SIGSEGV)
-           return _error->Error("Sub-process recieved a segmentation fault.");
+           return _error->Error("Sub-process %s recieved a segmentation fault.",Args[0]);
            
         if (WIFEXITED(Status) != 0)
-           return _error->Error("Sub-process returned an error code (%u)",WEXITSTATUS(Status));
+           return _error->Error("Sub-process %s returned an error code (%u)",Args[0],WEXITSTATUS(Status));
         
-        return _error->Error("Sub-process exited unexpectedly");
+        return _error->Error("Sub-process %s exited unexpectedly",Args[0]);
       }      
    }
 
index eaf8350..d2b433d 100644 (file)
@@ -1,6 +1,8 @@
 apt (0.3.15.1) unstable; urgency=low
-
   * Made --no-download work.
+  * Now compiles on OpenBSD, Solaris and HP-UX
+  * Clarify segfault errors
   
  -- Jason Gunthorpe <jgg@debian.org>  Sat,  4 Dec 1999 21:17:24 -0800