Skip to content
Commit f3b0f220 authored by Méven Car's avatar Méven Car
Browse files

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}

FEATURE: 381367
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
parent 4d7ebf71
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment