mirror of
https://github.com/facebook/zstd.git
synced 2025-07-06 15:45:37 +02: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.
43 lines
1.3 KiB
Plaintext
43 lines
1.3 KiB
Plaintext
Trace:FileStat: > UTIL_isLink(file)
|
|
Trace:FileStat: < 0
|
|
Trace:FileStat: > UTIL_isConsole(2)
|
|
Trace:FileStat: < 0
|
|
Trace:FileStat: > UTIL_getFileSize(file)
|
|
Trace:FileStat: > UTIL_stat(-1, file)
|
|
Trace:FileStat: < 1
|
|
Trace:FileStat: < 65537
|
|
Trace:FileStat: > UTIL_stat(-1, file)
|
|
Trace:FileStat: < 1
|
|
Trace:FileStat: > UTIL_isDirectoryStat()
|
|
Trace:FileStat: < 0
|
|
Trace:FileStat: > UTIL_stat(-1, file)
|
|
Trace:FileStat: < 1
|
|
Trace:FileStat: > UTIL_isSameFile(file, file.zst)
|
|
Trace:FileStat: > UTIL_stat(-1, file)
|
|
Trace:FileStat: < 1
|
|
Trace:FileStat: > UTIL_stat(-1, file.zst)
|
|
Trace:FileStat: < 0
|
|
Trace:FileStat: < 0
|
|
Trace:FileStat: > UTIL_isRegularFile(file.zst)
|
|
Trace:FileStat: > UTIL_stat(-1, file.zst)
|
|
Trace:FileStat: < 0
|
|
Trace:FileStat: < 0
|
|
Trace:FileStat: > UTIL_isRegularFile(file.zst)
|
|
Trace:FileStat: > UTIL_stat(-1, file.zst)
|
|
Trace:FileStat: < 1
|
|
Trace:FileStat: < 1
|
|
Trace:FileStat: > UTIL_getFileSize(file)
|
|
Trace:FileStat: > UTIL_stat(-1, file)
|
|
Trace:FileStat: < 1
|
|
Trace:FileStat: < 65537
|
|
Trace:FileStat: > UTIL_setFileStat(4, file.zst)
|
|
Trace:FileStat: > UTIL_stat(4, file.zst)
|
|
Trace:FileStat: < 1
|
|
Trace:FileStat: > UTIL_chmod(file.zst, 0642)
|
|
Trace:FileStat: > fchmod
|
|
Trace:FileStat: < 0
|
|
Trace:FileStat: < 0
|
|
Trace:FileStat: < 0
|
|
Trace:FileStat: > UTIL_utime(file.zst)
|
|
Trace:FileStat: < 0
|