]> git.saurik.com Git - apt.git/commit
don't double-count seeks in FileFd::Skip for bzip/xz
authorDavid Kalnischkies <david@kalnischkies.de>
Fri, 11 Apr 2014 09:18:58 +0000 (11:18 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Fri, 11 Apr 2014 09:18:58 +0000 (11:18 +0200)
commit21ba8115c873ae4085770e4bf0bed765e0e099a6
tree844b308768d0fb2d72291c9d3f5ec39518f61ac0
parent8056a00cd76c0f9dd6c444f23aa9998f96f805ed
don't double-count seeks in FileFd::Skip for bzip/xz

FileFd::Read already deals with the increase of the skipposition so that
we as the caller in FileFd::Skip really shouldn't increase it, too.
apt-pkg/contrib/fileutl.cc