]> git.saurik.com Git - apt.git/commit
pkgTagFile: if we have seen the end, do not try to see more
authorDavid Kalnischkies <david@kalnischkies.de>
Wed, 29 Jan 2014 22:02:51 +0000 (23:02 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Wed, 29 Jan 2014 23:16:19 +0000 (00:16 +0100)
commite62aa1dd8099aeb8bb667253ca22c56b93f521d1
tree4b69ca1552e7c95b31b9a412a9e73c6b5c1c95ce
parentbae81c1307e956aa8928c9d6a77830fb733cd61f
pkgTagFile: if we have seen the end, do not try to see more

Asking for more via Step() will notice that we are done with the file
already and will result in a fail, which means we can't find the last
sections anymore (which is especially painful if we haven't moved at
all as in the testcase we haven't even looked at one of the sources
leading to a strange behaviour)

Reported-By: Niall Walsh <niallwalsh@users.berlios.de>
apt-pkg/tagfile.cc
test/integration/test-apt-get-source-multisources [new file with mode: 0755]