Follow-up Comment #3, bug #65792 (group findutils):
[comment #2 comment #2:] > That already exists (https://git.savannah.gnu.org/cgit/gnulib.git/tree/lib/stat-time.h#n156) and we're using it, as detailed in the first comment on this bug. But there are limitations in NetBSD's implementation which can give rise to incorrect results. See the link above for details. Apologies, I probably explained it poorly. I'm aware of the stat-time module and the BSD bug. I was proposing an extended stat function in Gnulib that accepts an extra 'struct timespec *' argument. That way any OS-specific details could be contained there, i.e. populating 'struct stat' from 'struct statx' on Linux. The extra argument would contain the file creation time if supported by the OS/file-system. Or else it's values will be set to -1 like get_stat_birthtime(). _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?65792> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/