]> git.saurik.com Git - apt.git/blobdiff - apt-inst/contrib/extracttar.cc
* apt-pkg/deb/dpkgpm.{cc,h}:
[apt.git] / apt-inst / contrib / extracttar.cc
index 062c06fa48eb91a82361dcb591a718bfff6c22e5..68c871a5daff23d592f12da559b59eb8d062d53c 100644 (file)
@@ -16,9 +16,6 @@
    ##################################################################### */
                                                                        /*}}}*/
 // Include Files                                                       /*{{{*/
-#ifdef __GNUG__
-#pragma implementation "apt-pkg/extracttar.h"
-#endif
 #include <apt-pkg/extracttar.h>
 
 #include <apt-pkg/error.h>
@@ -335,7 +332,7 @@ bool ExtractTar::Go(pkgDirStream &Stream)
       }
       
       // And finish up
-      if (Itm.Size != 0 && BadRecord == false)
+      if (Itm.Size >= 0 && BadRecord == false)
         if (Stream.FinishedFile(Itm,Fd) == false)
            return false;