summaryrefslogtreecommitdiff
path: root/cmdline/apt-cache.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-12-19 14:42:48 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2011-12-19 14:42:48 +0100
commit616e09efe980457a0a4a3b643903a2a31708439e (patch)
treec656f4f9ee926733e7bb1db90d7537a0b137e08e /cmdline/apt-cache.cc
parent384a3a5c5a233e28923d642baf92d15071705635 (diff)
parent27da8141d21cfbfc29675510737ee05bdfd4a2b1 (diff)
merged from debian-experimental2
Diffstat (limited to 'cmdline/apt-cache.cc')
-rw-r--r--cmdline/apt-cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc
index 65d7b0ccd..1cd5080cc 100644
--- a/cmdline/apt-cache.cc
+++ b/cmdline/apt-cache.cc
@@ -1143,7 +1143,7 @@ bool DisplayRecord(pkgCacheFile &CacheFile, pkgCache::VerIterator V)
return _error->Error(_("Package file %s is out of sync."),I.FileName());
FileFd PkgF;
- if (PkgF.Open(I.FileName(), FileFd::ReadOnlyGzip) == false)
+ if (PkgF.Open(I.FileName(), FileFd::ReadOnly, FileFd::Extension) == false)
return false;
// Read the record