summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-09-24 09:32:20 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2009-09-24 09:32:20 +0200
commit07b2db9b4b2e543b599db97d75ac2315a1676ad8 (patch)
treeb6bde0b7716e3dcb3a8772acda1929161e109751
parent4e5500361a964f49656a39b001ba246f113f8cdd (diff)
* apt-inst/contrib/arfile.cc:
- show propper error message for Invalid archive members
-rw-r--r--apt-inst/contrib/arfile.cc2
-rw-r--r--debian/changelog2
2 files changed, 3 insertions, 1 deletions
diff --git a/apt-inst/contrib/arfile.cc b/apt-inst/contrib/arfile.cc
index 7c85f2e86..8f30355ed 100644
--- a/apt-inst/contrib/arfile.cc
+++ b/apt-inst/contrib/arfile.cc
@@ -87,7 +87,7 @@ bool ARArchive::LoadHeaders()
StrToNum(Head.Size,Memb->Size,sizeof(Head.Size)) == false)
{
delete Memb;
- return _error->Error(_("Invalid archive member header"));
+ return _error->Error(_("Invalid archive member header %s"), Head.Name);
}
// Check for an extra long name string
diff --git a/debian/changelog b/debian/changelog
index a27f958b9..cad223833 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ apt (0.7.22.4) unstable; urgency=low
* apt-pkg/deb/dpkgpm.cc:
- when tcgetattr() returns non-zero skip all pty magic
(thanks to Simon Richter, closes: #509866)
+ * apt-inst/contrib/arfile.cc:
+ - show propper error message for Invalid archive members
-- Michael Vogt <michael.vogt@ubuntu.com> Mon, 31 Aug 2009 11:08:03 +0200