diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-12-10 19:31:36 +0100 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-12-10 19:31:36 +0100 |
commit | 468720c59fcf48b20332cdb7b601b2b0d7cbbfbb (patch) | |
tree | f01d2dcf5827a86706567387c1a0af50c4cf21dd /apt-pkg/deb/debsrcrecords.h | |
parent | 8e16d8c39447809506a8cd8e6f88cae3c168f82d (diff) |
enable FileFd to guess the compressor based on the filename if requested or
to search for compressed silbings of the given filename and use this guessing
instead of hardcoding Gzip compression
Diffstat (limited to 'apt-pkg/deb/debsrcrecords.h')
-rw-r--r-- | apt-pkg/deb/debsrcrecords.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/deb/debsrcrecords.h b/apt-pkg/deb/debsrcrecords.h index 4c8d03224..5d2a67f4f 100644 --- a/apt-pkg/deb/debsrcrecords.h +++ b/apt-pkg/deb/debsrcrecords.h @@ -50,7 +50,7 @@ class debSrcRecordParser : public pkgSrcRecords::Parser virtual bool Files(std::vector<pkgSrcRecords::File> &F); debSrcRecordParser(std::string const &File,pkgIndexFile const *Index) - : Parser(Index), Fd(File,FileFd::ReadOnlyGzip), Tags(&Fd,102400), + : Parser(Index), Fd(File,FileFd::ReadOnly, FileFd::Extension), Tags(&Fd,102400), Buffer(NULL) {} virtual ~debSrcRecordParser(); }; |