summaryrefslogtreecommitdiff
path: root/apt-inst/contrib
diff options
context:
space:
mode:
authorEugene V. Lyubimkin <jackyf@1501-debian>2008-12-19 21:49:54 +0200
committerEugene V. Lyubimkin <jackyf@1501-debian>2008-12-19 21:49:54 +0200
commit193d0845725a05e7e65b95e34f791cb6a85ff394 (patch)
tree57c74748a287fa2056221a6648e1b6586821f90b /apt-inst/contrib
parent074d72ebefa42e8b2bea2062114a44cd0445bfad (diff)
parent65ea646c14385fef9852020a0a9432e7b567dcd5 (diff)
Merged from debian-sid branch.
Diffstat (limited to 'apt-inst/contrib')
-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 a1fb97b48..7c85f2e86 100644
--- a/apt-inst/contrib/arfile.cc
+++ b/apt-inst/contrib/arfile.cc
@@ -111,7 +111,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,I+1);
}