Review Request 127743: mkpath instead of mkdir
Harald Sitter
sitter at kde.org
Tue Apr 26 09:46:09 UTC 2016
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127743/
-----------------------------------------------------------
(Updated April 26, 2016, 9:46 a.m.)
Status
------
This change has been marked as submitted.
Review request for KDE Frameworks.
Changes
-------
Submitted with commit 90e8bb655f98722f6904c4aeb5b1089249814224 by Harald Sitter to branch master.
Repository: kio
Description
-------
if the parent directory/ies does not exist yet mkdir would fail even when
technically it could construct the path.
this in particular occurs in test setups with xvfb&openbox&kded:
- http_jobtest would attempt to talk to the cookiejar
- kded5 gets autostarted & jar loaded
- jar module runs getOrCreate on a path that is relative to a fake home
(e.g. /tmp/kitten-test-123/.local/share/cache
- creation fails
- jar displays dialog that will not ever be run
- test stuck and will time out eventually
- the particular kded used is now defunct
Diffs
-----
src/ioslaves/http/kcookiejar/kcookieserver.cpp 9f9d9449b2f06f33ac479b0b5fb47f26c169fb41
Diff: https://git.reviewboard.kde.org/r/127743/diff/
Testing
-------
tested the at the outlined scenario works
make test still passes
Thanks,
Harald Sitter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20160426/7d9da891/attachment.html>
More information about the Kde-frameworks-devel
mailing list