]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/debrecords.cc
Simplified time calculations
[apt.git] / apt-pkg / deb / debrecords.cc
index c4019b48fa5fa31288c332f281584274d53ad4d9..b3f91a8403fc24573ed63d20957610ba24e1e2fc 100644 (file)
@@ -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");
 }
                                                                        /*}}}*/