]> git.saurik.com Git - apt.git/blobdiff - apt-inst/contrib/extracttar.cc
* apt-pkg/contrib/configuration.cc:
[apt.git] / apt-inst / contrib / extracttar.cc
index 1a358d57e6fb34280edef6136d74d1738a088ccd..487027c3daccf16bcba2291f89a53adef758764a 100644 (file)
@@ -16,8 +16,9 @@
    ##################################################################### */
                                                                        /*}}}*/
 // Include Files                                                       /*{{{*/
-#include <apt-pkg/extracttar.h>
+#include<config.h>
 
+#include <apt-pkg/extracttar.h>
 #include <apt-pkg/error.h>
 #include <apt-pkg/strutl.h>
 #include <apt-pkg/configuration.h>
@@ -28,6 +29,7 @@
 #include <signal.h>
 #include <fcntl.h>
 #include <iostream>
+
 #include <apti18n.h>
                                                                        /*}}}*/
 
@@ -336,7 +338,7 @@ bool ExtractTar::Go(pkgDirStream &Stream)
       }
       
       // And finish up
-      if (Itm.Size >= 0 && BadRecord == false)
+      if (BadRecord == false)
         if (Stream.FinishedFile(Itm,Fd) == false)
            return false;