summaryrefslogtreecommitdiff
path: root/apt-pkg/indexrecords.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-08-17 08:38:09 +0200
committerMichael Vogt <mvo@debian.org>2013-08-17 08:38:09 +0200
commitb55e706a8794d810fb7c5a7c175c04ea207b1ce7 (patch)
tree7e712f534c2c4bda0c6c4d4be08379813cc3596b /apt-pkg/indexrecords.cc
parent010364b7b52af9f6f4d8cbb6391a721260b6ffb5 (diff)
parent48498443e74b2a7e089709b954c50b7df374684b (diff)
Merge remote-tracking branch 'donkult/debian/sid' into debian/sid
Diffstat (limited to 'apt-pkg/indexrecords.cc')
-rw-r--r--apt-pkg/indexrecords.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/indexrecords.cc b/apt-pkg/indexrecords.cc
index 6d89949a0..8a72ca151 100644
--- a/apt-pkg/indexrecords.cc
+++ b/apt-pkg/indexrecords.cc
@@ -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());