]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/debrecords.cc
stop exporting the accidently exported parsenetrc() symbol
[apt.git] / apt-pkg / deb / debrecords.cc
index ef6a7ca9d6ac547b8eef67693c792a06b0fe9953..184c07c33b2d9b2f2ea47036e8824fdd76ecfe5c 100644 (file)
@@ -14,6 +14,8 @@
 #include <apt-pkg/strutl.h>
 #include <apt-pkg/error.h>
 #include <apt-pkg/aptconfiguration.h>
+#include <apt-pkg/fileutl.h>
+
 #include <langinfo.h>
                                                                        /*}}}*/
 
@@ -23,7 +25,7 @@ using std::string;
 // ---------------------------------------------------------------------
 /* */
 debRecordParser::debRecordParser(string FileName,pkgCache &Cache) : 
-                  File(FileName,FileFd::ReadOnlyGzip), 
+                  File(FileName,FileFd::ReadOnly, FileFd::Extension),
                   Tags(&File, std::max(Cache.Head().MaxVerFileSize, 
                                       Cache.Head().MaxDescFileSize) + 200)
 {