]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-cache.cc
Switch FileFd to not transparently gunzip, since that breaks code which expects the...
[apt.git] / cmdline / apt-cache.cc
index 3f68579cc0386b933dc8700dc3ae748490cda212..2b47184f9b54a26c76f40011a7fd654fe55531c7 100644 (file)
@@ -1220,7 +1220,7 @@ bool DisplayRecord(pkgCache::VerIterator V)
    if (I.IsOk() == false)
       return _error->Error(_("Package file %s is out of sync."),I.FileName());
    
-   FileFd PkgF(I.FileName(),FileFd::ReadOnly);
+   FileFd PkgF(I.FileName(),FileFd::ReadOnlyGzip);
    if (_error->PendingError() == true)
       return false;