X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/03e39e592311fd327ea516d31567557830634c86..e5a1f2ff4cd1300364c7c644958583a8af704173:/apt-pkg/deb/debrecords.cc diff --git a/apt-pkg/deb/debrecords.cc b/apt-pkg/deb/debrecords.cc index c4019b48f..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.3 1998/11/13 04:23:37 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) { } /*}}}*/ @@ -83,6 +84,6 @@ string debRecordParser::ShortDesc() /* */ string debRecordParser::LongDesc() { - return string(); + return FindTag("Description"); } /*}}}*/