diff options
author | martin@piware.de <> | 2010-06-24 21:27:27 +0200 |
---|---|---|
committer | martin@piware.de <> | 2010-06-24 21:27:27 +0200 |
commit | c4fc2fd7fa0fc63fd8cd6bc9b73492e6baf0222a (patch) | |
tree | 04161940fbd86e574ddd5de1dca4e974af77c524 /apt-pkg/deb/debrecords.cc | |
parent | 9d706e45650240cb7b05104211d93220dd6f614c (diff) |
Switch FileFd to not transparently gunzip, since that breaks code which expects the compressed contents to stay (such as the copy backend, or when using file:// repositories. Instead, introduce a new ReadOnlyGzip mode and use that where needed
Diffstat (limited to 'apt-pkg/deb/debrecords.cc')
-rw-r--r-- | apt-pkg/deb/debrecords.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/deb/debrecords.cc b/apt-pkg/deb/debrecords.cc index 34ef0d8f2..ec9e395ef 100644 --- a/apt-pkg/deb/debrecords.cc +++ b/apt-pkg/deb/debrecords.cc @@ -19,7 +19,7 @@ // --------------------------------------------------------------------- /* */ debRecordParser::debRecordParser(string FileName,pkgCache &Cache) : - File(FileName,FileFd::ReadOnly), + File(FileName,FileFd::ReadOnlyGzip), Tags(&File, std::max(Cache.Head().MaxVerFileSize, Cache.Head().MaxDescFileSize) + 200) { |