D14920: KCompressionDevice: don't call write after WriteError
David Faure
noreply at phabricator.kde.org
Sat Aug 18 14:40:44 BST 2018
dfaure created this revision.
dfaure added a reviewer: cullmann.
Herald added a project: Frameworks.
Herald edited subscribers, added: kde-frameworks-devel; removed: Frameworks.
dfaure requested review of this revision.
REVISION SUMMARY
if an earlier call to write failed, then there is no point in
doing the final write call, it even asserts in the NoneFilter.
TEST PLAN
This fixes saving to full disk using a KCompressionDevice set
up with KNoneFilter, in kwrite.
BUG: 397545
REPOSITORY
R243 KArchive
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D14920
AFFECTED FILES
src/kcompressiondevice.cpp
To: dfaure, cullmann
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180818/45524d61/attachment.html>
More information about the Kde-frameworks-devel
mailing list