summaryrefslogtreecommitdiff
path: root/apt-inst/contrib
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:59:26 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:59:26 +0000
commite9b0cab795afa27f50ee30708e090962a806c6fa (patch)
treef8a36860a0d2e8b00af67f17711910cce394228a /apt-inst/contrib
parent851389e73f0273b93338f49532664ecac13886a0 (diff)
fix for #161593
Author: tausq Date: 2002-09-20 04:42:25 GMT fix for #161593
Diffstat (limited to 'apt-inst/contrib')
-rw-r--r--apt-inst/contrib/arfile.cc4
1 files changed, 2 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);
}