From: Arch Librarian Date: Mon, 20 Sep 2004 16:59:26 +0000 (+0000) Subject: fix for #161593 X-Git-Tag: 0.7.24ubuntu1~899 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/e9b0cab795afa27f50ee30708e090962a806c6fa fix for #161593 Author: tausq Date: 2002-09-20 04:42:25 GMT fix for #161593 --- 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 --