summaryrefslogtreecommitdiff
path: root/apt-inst
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 17:01:46 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 17:01:46 +0000
commitd48c6a7dd41a43a3753b8d15ba0a9deac4526cc5 (patch)
tree134d33b9c78248e5f13fed6008f9cd7401905860 /apt-inst
parent7b464090c26153e808b90726e2faa58029f6bb88 (diff)
- Clean up some string handling, patch from Peter Lundkvist
Author: mdz Date: 2003-07-18 14:15:11 GMT - Clean up some string handling, patch from Peter Lundkvist <p.lundkvist@telia.com> (Closes: #192225)
Diffstat (limited to 'apt-inst')
-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 27d4d9ba4..b423eb4cb 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.5 2003/02/10 00:36:12 doogie Exp $
+// $Id: arfile.cc,v 1.6 2003/07/18 14:15:11 mdz Exp $
/* ######################################################################
AR File - Handle an 'AR' archive
@@ -115,7 +115,7 @@ bool ARArchive::LoadHeaders()
{
unsigned int I = sizeof(Head.Name) - 1;
for (; Head.Name[I] == ' '; I--);
- Memb->Name = string(Head.Name,0,I+1);
+ Memb->Name = string(Head.Name,I+1);
}
// Account for the AR header alignment