diff options
author | Julian Andres Klode <jak@debian.org> | 2015-12-19 13:07:12 +0100 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2015-12-19 13:13:02 +0100 |
commit | 39e77e45ae627165a8f89d83a8f875251920ce05 (patch) | |
tree | ac424004186649cb4a3372e0352c5f0db2daf8bb /apt-pkg/orderlist.cc | |
parent | 5df91bc70aeac9f39f33d748a3b5602fbf2a3e81 (diff) |
Do not try to read in FileFd::Read() if Size is 0
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
Diffstat (limited to 'apt-pkg/orderlist.cc')
0 files changed, 0 insertions, 0 deletions