]> git.saurik.com Git - apt.git/blobdiff - ftparchive/contents.cc
Add compat mode for old (32bit FileSize) CacheDB (LP: #1274466)
[apt.git] / ftparchive / contents.cc
index 7a1fb779e8a46b339ecd8f9a4ee0ba19a1a85d12..91dd2b8bde68de0ed8d8859aee8debdabe810f5f 100644 (file)
@@ -302,7 +302,18 @@ void GenContents::DoPrint(FILE *Out,GenContents::Node *Top, char *Buf)
    DoPrint(Out,Top->BTreeRight,Buf);  
 }
                                                                        /*}}}*/
-
+// ContentsExtract Constructor                                         /*{{{*/
+ContentsExtract::ContentsExtract()
+   : Data(0), MaxSize(0), CurSize(0) 
+{
+};
+                                                                       /*}}}*/
+// ContentsExtract Destructor                                          /*{{{*/
+ContentsExtract::~ContentsExtract()
+{
+   free(Data);
+};
+                                                                       /*}}}*/
 // ContentsExtract::Read - Read the archive                            /*{{{*/
 // ---------------------------------------------------------------------
 /* */