* apt-inst/contrib/arfile.cc:
authorMichael Vogt <michael.vogt@ubuntu.com>
Wed, 17 Dec 2008 22:19:37 +0000 (23:19 +0100)
committerMichael Vogt <michael.vogt@ubuntu.com>
Wed, 17 Dec 2008 22:19:37 +0000 (23:19 +0100)
  - support members ending with '/' as well (thanks to Michal Cihr,
    closes: #500988)

apt-inst/contrib/arfile.cc
debian/changelog

index a1fb97b..7c85f2e 100644 (file)
@@ -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);
       }
 
index 35a8fb2..2d765c6 100644 (file)
@@ -20,6 +20,9 @@ apt (0.7.20) unstable; urgency=low
     This is controlled via the value of
     APT::Get::Build-Dep-Automatic and is set "false" by default.  
     Thanks to Aaron Haviland, closes: #448743
+  * apt-inst/contrib/arfile.cc:
+    - support members ending with '/' as well (thanks to Michal Cihr,
+      closes: #500988)
 
   [ Christian Perrier ]
   * Translations: