Summary: | Populate UDS_CREATION_TIME on Linux when the statx() system call is available | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Nate Graham <nate> |
Component: | general | Assignee: | David Faure <faure> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | bughunt, bugseforuns, grahamperrin, karl, kdelibs-bugs, meven29, nate, toddrme2178 |
Priority: | NOR | Keywords: | usability |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kio/f3b0f220a78d4e5a5b94b46e931779d755ac19ce | Version Fixed In: | 5.58 |
Sentry Crash Report: |
Description
Nate Graham
2017-06-18 14:46:37 UTC
No real need for this separate bug; duplicate of https://bugs.kde.org/show_bug.cgi?id=286689 *** This bug has been marked as a duplicate of bug 286689 *** Re-opening since the duped bug has been closed as fixed, and anyway, my patch to implement the functionality in Linux (https://phabricator.kde.org/D7423) really belongs in this bug. *** Bug 389893 has been marked as a duplicate of this bug. *** *** Bug 397398 has been marked as a duplicate of this bug. *** A patch is underway https://phabricator.kde.org/D20096 Thanks so much, Méven! Git commit f3b0f220a78d4e5a5b94b46e931779d755ac19ce by Méven Car. Committed on 13/04/2019 at 13:30. Pushed by meven into branch 'master'. Fill UDSEntry::UDS_CREATION_TIME under linux when glibc >= 2.28 Summary: The birthtime can be retrieved using using the statx function, available since glibc 2.28. In case the kernel lacks support for the underlying syscall, glibc falls back to stat internally. The validity of the btime field is indicated in the mask field, e.g. when the kernel or the filesystem lacks support for btime. For details, see http://man7.org/linux/man-pages/man2/statx.2.html In dolphin, the creation time column is now filled in linux : {F6736022} FIXED-IN: 5.58 Test Plan: Tested using kioslavetest and local build of dolphin. Tested without HAVE_STATX under linux. Reviewers: #frameworks, dfaure, fvogt, bruns, broulik Reviewed By: fvogt, bruns Subscribers: anthonyfieroni, pino, bcooksley, ngraham, kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D20096 M +18 -0 src/ioslaves/file/ConfigureChecks.cmake M +3 -0 src/ioslaves/file/config-kioslave-file.h.cmake M +92 -24 src/ioslaves/file/file.cpp M +17 -0 tests/kioslavetest.cpp https://commits.kde.org/kio/f3b0f220a78d4e5a5b94b46e931779d755ac19ce <3 |