]> git.saurik.com Git - apt.git/blobdiff - apt-inst/contrib/arfile.cc
[cmdline/apt-get.cc] check for availability ofstatfs.f_type
[apt.git] / apt-inst / contrib / arfile.cc
index a1fb97b483b404292eb63d614b2dc2515ffe9fb5..7c85f2e866282cf52ae9fcb0a9472348bf3825f8 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);
       }