summaryrefslogtreecommitdiff
path: root/apt-pkg/srcrecords.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-02-07 20:15:52 +0100
committerMichael Vogt <mvo@debian.org>2014-02-07 20:15:52 +0100
commit043d80193e507202d3e1b9456ed802940f2611d7 (patch)
treea833993818b97b3c7689ee3e7e2771fb5600889f /apt-pkg/srcrecords.cc
parent37c61d76869a50110e298b042660eb5120a282c8 (diff)
parent9f2df510b17f6b64801677915f5c25f73290d3f4 (diff)
Merge branch 'debian/sid' into ubuntu/master
Conflicts: configure.ac debian/changelog
Diffstat (limited to 'apt-pkg/srcrecords.cc')
-rw-r--r--apt-pkg/srcrecords.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/apt-pkg/srcrecords.cc b/apt-pkg/srcrecords.cc
index 297559957..60b62850a 100644
--- a/apt-pkg/srcrecords.cc
+++ b/apt-pkg/srcrecords.cc
@@ -70,8 +70,9 @@ bool pkgSrcRecords::Restart()
Current = Files.begin();
for (std::vector<Parser*>::iterator I = Files.begin();
I != Files.end(); ++I)
- (*I)->Restart();
-
+ if ((*I)->Offset() != 0)
+ (*I)->Restart();
+
return true;
}
/*}}}*/