]> git.saurik.com Git - apt.git/commit
BufferedWriter: flushing: Check for written < size instead of <=
authorJulian Andres Klode <jak@debian.org>
Mon, 28 Dec 2015 03:09:55 +0000 (04:09 +0100)
committerJulian Andres Klode <jak@debian.org>
Mon, 28 Dec 2015 03:10:37 +0000 (04:10 +0100)
commit80f06991967d4daccb1c0c1147a6e16291ebb027
treeba385ae12f637463c06fd10072c47d1536d8d235
parent2ffd35359fffac0ae9ac1def06237324b7204c97
BufferedWriter: flushing: Check for written < size instead of <=

This avoids some issues with InternalWrite returning 0 because
it just cannot write stuff at the moment.
apt-pkg/contrib/fileutl.cc