summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/fileutl.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2012-04-05 19:02:08 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2012-04-05 19:02:08 +0200
commit8dd623dbd616ee23dc96a2c99a4415b153dd7290 (patch)
treee53d6eac0864b2b8f083d288863d34a5d6c3b4f2 /apt-pkg/contrib/fileutl.cc
parentd6bbcaad675a746e958d0736ead63bf44c2787ee (diff)
if we have zlib builtin insert add a dummy gzip compressor for FileFD
Diffstat (limited to 'apt-pkg/contrib/fileutl.cc')
-rw-r--r--apt-pkg/contrib/fileutl.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/apt-pkg/contrib/fileutl.cc b/apt-pkg/contrib/fileutl.cc
index 691657cb4..30d0b6662 100644
--- a/apt-pkg/contrib/fileutl.cc
+++ b/apt-pkg/contrib/fileutl.cc
@@ -829,7 +829,6 @@ bool FileFd::Open(string FileName,unsigned int const Mode,CompressMode Compress,
if (Compress == Auto && (Mode & WriteOnly) == WriteOnly)
return _error->Error("Autodetection on %s only works in ReadOnly openmode!", FileName.c_str());
- // FIXME: Denote inbuilt compressors somehow - as we don't need to have the binaries for them
std::vector<APT::Configuration::Compressor> const compressors = APT::Configuration::getCompressors();
std::vector<APT::Configuration::Compressor>::const_iterator compressor = compressors.begin();
if (Compress == Auto)