]> git.saurik.com Git - apt.git/commit - apt-pkg/contrib/fileutl.cc
Do not buffer writes larger than the buffer if possible
authorJulian Andres Klode <jak@debian.org>
Mon, 1 Feb 2016 15:46:53 +0000 (16:46 +0100)
committerJulian Andres Klode <jak@debian.org>
Mon, 1 Feb 2016 15:50:48 +0000 (16:50 +0100)
commitf1828e6b0adb87bf0b99d3cfeeafbb76cbc6aab7
tree797c8f8665ec8bef7bb26fffb0ac1ebe445ba933
parent070ed1c9147c092c1f944afd1c17c51f651a5c39
Do not buffer writes larger than the buffer if possible

It makes no sense to split a large block into multiple small
blocks, so when we have the chance to write them unbuffered,
do so.
apt-pkg/contrib/fileutl.cc