diff options
-rw-r--r-- | apt-inst/contrib/arfile.cc | 4 | ||||
-rw-r--r-- | debian/changelog | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/apt-inst/contrib/arfile.cc b/apt-inst/contrib/arfile.cc index c2964b7a9..9237b28d9 100644 --- a/apt-inst/contrib/arfile.cc +++ b/apt-inst/contrib/arfile.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: arfile.cc,v 1.2 2001/02/20 07:03:16 jgg Exp $ +// $Id: arfile.cc,v 1.3 2002/09/20 04:42:25 tausq Exp $ /* ###################################################################### AR File - Handle an 'AR' archive @@ -113,7 +113,7 @@ bool ARArchive::LoadHeaders() else { unsigned int I = sizeof(Head.Name) - 1; - for (; Head.Name[I] == ' '; I--); + for (; Head.Name[I] == ' ' || Head.Name[I] == '/'; I--); Memb->Name = string(Head.Name,0,I+1); } diff --git a/debian/changelog b/debian/changelog index b5875777d..37efb7eb9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -43,6 +43,8 @@ apt (0.5.5) unstable; urgency=low * 'apt-get update' no longer does 'Building Dependency Tree'. * When matching regexs allways print a message. Change regex activation charset. Closes: #147817 + * Handle ar files with / name delimiters (as per AR standard). + Closes: #161593 -- |