From 06bba740f0085bcd6262cece62dcff266d8efe95 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:52:55 +0000 Subject: Fixed another parser glitch Author: jgg Date: 1999-02-22 03:30:06 GMT Fixed another parser glitch --- apt-pkg/deb/debrecords.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apt-pkg/deb/debrecords.cc') diff --git a/apt-pkg/deb/debrecords.cc b/apt-pkg/deb/debrecords.cc index e06533e19..b3f91a840 100644 --- a/apt-pkg/deb/debrecords.cc +++ b/apt-pkg/deb/debrecords.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: debrecords.cc,v 1.4 1999/01/27 02:48:53 jgg Exp $ +// $Id: debrecords.cc,v 1.5 1999/02/22 03:30:06 jgg Exp $ /* ###################################################################### Debian Package Records - Parser for debian package records @@ -18,7 +18,8 @@ // RecordParser::debRecordParser - Constructor /*{{{*/ // --------------------------------------------------------------------- /* */ -debRecordParser::debRecordParser(FileFd &File) : Tags(File,4*1024) +debRecordParser::debRecordParser(FileFd &File,pkgCache &Cache) : + Tags(File,Cache.Head().MaxVerFileSize + 20) { } /*}}}*/ -- cgit v1.2.3