]> git.saurik.com Git - apt.git/commit - apt-pkg/contrib/fileutl.cc
call flush on the wrapped writebuffered FileFd
authorDavid Kalnischkies <david@kalnischkies.de>
Sat, 23 Jul 2016 13:24:46 +0000 (15:24 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Sat, 23 Jul 2016 15:23:13 +0000 (17:23 +0200)
commit8ca481e8419c19b6ef9074b68cc028177a507161
tree01b06b8fbc63894d333247396e00f3131110af9e
parent8b21456acba3cbbc28f35eba684d8f21b0c290b4
call flush on the wrapped writebuffered FileFd

The flush call is a no-op in most FileFd implementations so this isn't
as critical as it might sound as the only non-trivial implementation is
in the buffered writer, which tends not be used to buffer another
buffer…
apt-pkg/contrib/fileutl.cc