We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
accessed
created
It can be demonstrated with this test in a console:
>> write %aaa "aaa" == %aaa >> query %aaa [created: accessed:] == [ created: 27-Sep-2024/16:16:47+2:00 accessed: 27-Sep-2024/16:16:47+2:00 ] >> write/append %aaa "aaa" == %aaa >> query %aaa [created: accessed:] == [ created: 27-Sep-2024/16:17:02+2:00 ;<-- modified value accessed: 27-Sep-2024/16:16:47+2:00 ;<-- unchanged value ]
On Windows it is ok.
The text was updated successfully, but these errors were encountered:
The reason is, that used st_ctime on Linux does not mean created, but changed (e.g., changing permissions)!
st_ctime
changed
To get a file creation time one must use statx system call (requires Linux kernel 4.11 or later) instead of plain stat.
statx
stat
Sorry, something went wrong.
https://man7.org/linux/man-pages/man2/statx.2.html
FEAT: improved file-related time values precision on POSIX platforms …
5aa41b0
…and resolved correct creation time on Linux (when possible) resolves: Oldes/Rebol-issues#2626 related to: Oldes/Rebol-issues#2624
Oldes/Rebol3@3994af8
No branches or pull requests
It can be demonstrated with this test in a console:
On Windows it is ok.
The text was updated successfully, but these errors were encountered: