diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2010-05-06 16:15:53 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2010-05-06 16:15:53 +0200 |
commit | d1aa91622b3e0f7653889cab205e4c5c622162f4 (patch) | |
tree | 2daa36375c215c86df9b98c435d7899402748287 /apt-pkg/deb/debrecords.cc | |
parent | 2d847a5919828ab26dd3f3c5993497b95df9051b (diff) | |
parent | d7087c493bf2fc7a0eaf6fa308c496c81e6dc98f (diff) |
merge with debian-experimental-ma
Diffstat (limited to 'apt-pkg/deb/debrecords.cc')
-rw-r--r-- | apt-pkg/deb/debrecords.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/deb/debrecords.cc b/apt-pkg/deb/debrecords.cc index 5b8538a46..34ef0d8f2 100644 --- a/apt-pkg/deb/debrecords.cc +++ b/apt-pkg/deb/debrecords.cc @@ -20,7 +20,8 @@ /* */ debRecordParser::debRecordParser(string FileName,pkgCache &Cache) : File(FileName,FileFd::ReadOnly), - Tags(&File,Cache.Head().MaxVerFileSize + 200) + Tags(&File, std::max(Cache.Head().MaxVerFileSize, + Cache.Head().MaxDescFileSize) + 200) { } /*}}}*/ |