D7423: Populate UDS_CREATION_TIME on Linux if QT version and Linux kernel support it (no effect if they don't)

Nathaniel Graham noreply at phabricator.kde.org
Sun Aug 20 01:28:43 UTC 2017


ngraham created this revision.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.

REVISION SUMMARY
  This speculative commit will populate UDS_CREATION_TIME if the Linux Kernel and QT version support it, following changes to do the same in FreeBSD and OpenBSD earlier this year <https://phabricator.kde.org/D5138>.
  
  The minimum Linux kernel version is 4.11, which includes the statx() system call  that reports file creation time.
  
  Support has already been added to QFile <https://github.com/qt/qtbase/commit/d3393ce25833c0afd7f0fa6b85fd6f3bd7ad520a>, but this hasn't made it into any released QT versions yet.
  
  This commit should populate UDS_CREATION_TIME if the above two conditions are met, which will have the effect of causing DOlphin to display file creation time (support for this was already added earlier <https://phabricator.kde.org/D6243>)

TEST PLAN
  Tested these changes with Dolphin in KDE Neon, and there were no regressions. File creation date was not displayed (as expected, due to lack of a released QT version that supports this), but nothing broke.

REPOSITORY
  R241 KIO

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

AFFECTED FILES
  src/ioslaves/file/file.cpp

To: ngraham, dfaure, broulik, elvisangelaccio
Cc: #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170820/3190715e/attachment.html>


More information about the Kde-frameworks-devel mailing list