D23420: Use solid to check if a KFileItem is located on a network mount

Kai Uwe Broulik noreply at phabricator.kde.org
Tue Aug 27 08:47:00 BST 2019


broulik added a comment.


  > isSlow() didn't check linkDest before.
  
  Even more reason to do it properly now :P
  
  `KFileSystemType` uses `statfs`. I didn't find any documentation on whether it follows symlinks, but it is documented to return an `ELOOP` error code "Too many symbolic links were encountered in translating path.", so maybe it does so implicitly, which we lost now.

REPOSITORY
  R241 KIO

BRANCH
  arcpatch-D23420

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

To: meven, dfaure, #frameworks
Cc: broulik, anthonyfieroni, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190827/13ca0b23/attachment.html>


More information about the Kde-frameworks-devel mailing list