]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/indexrecords.cc
[ABI-Break] remove the PACKAGE_MATCHER_ABI_COMPAT defines
[apt.git] / apt-pkg / indexrecords.cc
index 6d89949a092d89fd1fea98536b0f3f408cdd6daf..8a72ca15182f3f31203da6b8d5b08e6e6b1698f4 100644 (file)
@@ -62,7 +62,7 @@ bool indexRecords::Load(const string Filename)                                /*{{{*/
    if (OpenMaybeClearSignedFile(Filename, Fd) == false)
       return false;
 
-   pkgTagFile TagFile(&Fd);
+   pkgTagFile TagFile(&Fd, Fd.Size());
    if (_error->PendingError() == true)
    {
       strprintf(ErrorText, _("Unable to parse Release file %s"),Filename.c_str());