]> git.saurik.com Git - apt.git/commit
FileFd: avoid further writing if file failed
authorDavid Kalnischkies <david@kalnischkies.de>
Wed, 27 Apr 2016 11:41:31 +0000 (13:41 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Thu, 28 Apr 2016 08:08:32 +0000 (10:08 +0200)
commitf43dd43912990f736b7fe7cad941f3deb3429af5
tree621a1cf23e681bd9bbe75ca8f4d1a976d9f204e9
parent42ba3fa1ec004acbddf5266559bd76428d904206
FileFd: avoid further writing if file failed

If the file is in a failed state there is no point in trying to flush
out the buffers as the file is to be discarded anyhow & its likely all
this flushing is producing is additional error messages.

Git-Dch: Ignore
apt-pkg/contrib/fileutl.cc