D16744: Fix crash if XDG_CACHE_HOME directory is too small or out of space
Alexey Min
noreply at phabricator.kde.org
Wed Nov 7 21:36:50 GMT 2018
alexeymin added a comment.
In D16744#355899 <https://phabricator.kde.org/D16744#355899>, @cfeck wrote:
> Would a switch be more readable?
Did you mean a block with `if (result == ENOSPC) {` ? Strictly speaking this whole block is not necessary, but it can provide some useful info in console.
Or do you suggest adding switch with all error return codes from http://man7.org/linux/man-pages/man3/posix_fallocate.3.html? 😕
REPOSITORY
R244 KCoreAddons
REVISION DETAIL
https://phabricator.kde.org/D16744
To: alexeymin, dfaure, #frameworks, mpyne
Cc: cfeck, kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20181107/ca76ebec/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list