D13805: Present error dialog when user tries to create directory named "." or ".."

David Faure noreply at phabricator.kde.org
Sun Jul 1 19:04:15 UTC 2018


dfaure added a comment.


  Well, it makes sense for this check to be at the GUI level, the user interaction can be better adapted then, as in this patch.
  
  KIO::mkpath("/home/dfaure/tmp/.") should at least not warn or error in any way IMHO.
  
  (btw mkdir of such a path, on the command line, always fails: either the tmp dir exists and it says "already exists", or it doesn't exist and it can't create the parent dir first)

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D13805

To: tmarshall, #dolphin, #frameworks, ngraham, dfaure
Cc: cfeck, elvisangelaccio, dfaure, tmarshall, bruns, ngraham, kde-frameworks-devel, michaelh, spoorun, navarromorales, isidorov, firef, andrebarros, emmanuelp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180701/329f2166/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list