mirror of
https://github.com/facebook/zstd.git
synced 2025-11-25 23:43:06 +03:00
Note that the `fd` is only valid while the file is still open. So we need to move the setting calls to before we close the file. However! We cannot do so with the `utime()` call (even though `futimens()` exists) because the follow- ing `close()` call to the `fd` will reset the atime of the file. So it seems the `utime()` call has to happen after the file is closed.
48 KiB
48 KiB