-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Metadata::created() not working on Linux with statx #59743
Copy link
Copy link
Closed
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.O-linuxOperating system: LinuxOperating system: LinuxT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.O-linuxOperating system: LinuxOperating system: LinuxT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
First of all, it now returns an Err with "not available on this platform currently".
But I found that there is a system call
statxavailable in Linux kernel 4.11, which can get the birth time.As the doc, the function uses
staton Unix platforms. But thestatresult just never containsbirthtime.Shouldn't it try
statxwhen available?