summaryrefslogtreecommitdiff
path: root/apt-inst/contrib/arfile.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-09-24 11:49:45 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2009-09-24 11:49:45 +0200
commit3b5a76ae9ae425db6fda4ccc041fbb1e79fffc18 (patch)
tree5c1a4c1b9c88ab0c428d8d6e01226c2e9b9ad95d /apt-inst/contrib/arfile.cc
parentf7d6459db697c6dbba8e5d787a817e7721bfb577 (diff)
parent07b2db9b4b2e543b599db97d75ac2315a1676ad8 (diff)
* 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
Diffstat (limited to 'apt-inst/contrib/arfile.cc')
-rw-r--r--apt-inst/contrib/arfile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-inst/contrib/arfile.cc b/apt-inst/contrib/arfile.cc
index e6c63d1ab..8018f4d30 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