summaryrefslogtreecommitdiff
path: root/apt-private/private-cmndline.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2015-12-19 13:01:14 +0100
committerJulian Andres Klode <jak@debian.org>2015-12-19 13:02:50 +0100
commit5df91bc70aeac9f39f33d748a3b5602fbf2a3e81 (patch)
tree08662fadce968576b8b2a4cdcfc1fa335f02dcd3 /apt-private/private-cmndline.cc
parentc0b271edc2f6d9e5dea5ac82fbc911f0e3adfa7a (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-private/private-cmndline.cc')
0 files changed, 0 insertions, 0 deletions