mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-14 14:58:07 +00:00
When code uses utimensat with UTIME_NOW or UTIME_OMIT valgrind memcheck would generate a warning. But as the utimensat manpage says: If the tv_nsec field of one of the timespec structures has the special value UTIME_NOW, then the corresponding file timestamp is set to the current time. If the tv_nsec field of one of the timespec structures has the special value UTIME_OMIT, then the corresponding file timestamp is left unchanged. In both of these cases, the value of the corre‐ sponding tv_sec field is ignored. So ignore the timespec tv_sec when tv_nsec is set to UTIME_NOW or UTIME_OMIT.
440 KiB
440 KiB