]> git.saurik.com Git - apt.git/commitdiff
Do not try to read in FileFd::Read() if Size is 0
authorJulian Andres Klode <jak@debian.org>
Sat, 19 Dec 2015 12:07:12 +0000 (13:07 +0100)
committerJulian Andres Klode <jak@debian.org>
Sat, 19 Dec 2015 12:13:02 +0000 (13:13 +0100)
There's no point trying to read 0 bytes, so let's just not
do this and switch to a while loop like in Write().

Gbp-Dch: ignore


No differences found