From: Arch Librarian Date: Mon, 20 Sep 2004 16:55:35 +0000 (+0000) Subject: Added subprocess to segfault error X-Git-Tag: 0.7.24ubuntu1~1174 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/0410b3d54c2b59d761073207645f1a7fd2df8f5f?hp=91b59d09fed17d9462c062e287424ed607bad20f Added subprocess to segfault error Author: jgg Date: 1999-12-12 03:48:36 GMT Added subprocess to segfault error --- diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc index 685bd4228..a9982bc34 100644 --- a/apt-pkg/deb/dpkgpm.cc +++ b/apt-pkg/deb/dpkgpm.cc @@ -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]); } } diff --git a/debian/changelog b/debian/changelog index eaf835029..d2b433d0e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Sat, 4 Dec 1999 21:17:24 -0800