diff options
author | Julian Andres Klode <jak@debian.org> | 2015-12-19 13:01:14 +0100 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2015-12-19 13:02:50 +0100 |
commit | 5df91bc70aeac9f39f33d748a3b5602fbf2a3e81 (patch) | |
tree | 08662fadce968576b8b2a4cdcfc1fa335f02dcd3 /apt-pkg/tagfile.h | |
parent | c0b271edc2f6d9e5dea5ac82fbc911f0e3adfa7a (diff) |
Do nothing in FileFd::Write() if Size is 0
Turn the do-while loop into while loops, so it simply does nothing
if the Size is already 0.
This reverts commit c0b271edc2f6d9e5dea5ac82fbc911f0e3adfa7a which
introduced a fix for a specific instance of the issue in the
CopyFile() function.
Closes: #808381
Diffstat (limited to 'apt-pkg/tagfile.h')
0 files changed, 0 insertions, 0 deletions