From 0410b3d54c2b59d761073207645f1a7fd2df8f5f Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:55:35 +0000 Subject: Added subprocess to segfault error Author: jgg Date: 1999-12-12 03:48:36 GMT Added subprocess to segfault error --- apt-pkg/deb/dpkgpm.cc | 8 ++++---- debian/changelog | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) 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 -- cgit v1.2.3-70-g09d2