projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More changes to make imediate configuration work for all packages,
[apt.git]
/
apt-pkg
/
deb
/
debrecords.cc
diff --git
a/apt-pkg/deb/debrecords.cc
b/apt-pkg/deb/debrecords.cc
index 5b8538a4676676ec1c950bece01578809d7b29af..ec9e395ef9d1e636d5456affc2e28941fea55257 100644
(file)
--- a/
apt-pkg/deb/debrecords.cc
+++ b/
apt-pkg/deb/debrecords.cc
@@
-19,8
+19,9
@@
// ---------------------------------------------------------------------
/* */
debRecordParser::debRecordParser(string FileName,pkgCache &Cache) :
// ---------------------------------------------------------------------
/* */
debRecordParser::debRecordParser(string FileName,pkgCache &Cache) :
- File(FileName,FileFd::ReadOnly),
- Tags(&File,Cache.Head().MaxVerFileSize + 200)
+ File(FileName,FileFd::ReadOnlyGzip),
+ Tags(&File, std::max(Cache.Head().MaxVerFileSize,
+ Cache.Head().MaxDescFileSize) + 200)
{
}
/*}}}*/
{
}
/*}}}*/