aboutsummaryrefslogtreecommitdiff
path: root/lib/libtsan/interception/interception_linux.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2025-12-27 10:40:24 -0800
committerAndrew Kelley <andrew@ziglang.org>2025-12-27 10:40:24 -0800
commita7c9d11b289b2140430f2666968bddb02a6f1a1f (patch)
treeb5b682039c0704b9beaf3f17737ab3d6962afb1a /lib/libtsan/interception/interception_linux.cpp
parente55e6b5528bb2f01de242fcf32b172e244e98e74 (diff)
downloadzig-a7c9d11b289b2140430f2666968bddb02a6f1a1f.tar.gz
zig-a7c9d11b289b2140430f2666968bddb02a6f1a1f.zip
std.Io: make file access time optional
Some filesystems, such as ZFS, do not report atime. It's pretty useless in general, so make it an optional field in File.Stat. Also take the opportunity to make setting timestamps API more flexible and match the APIs widely available, which have UTIME_OMIT and UTIME_NOW constants that can be independently set for both fields. This is needed to handle smoothly the case when atime is null.
Diffstat (limited to 'lib/libtsan/interception/interception_linux.cpp')
0 files changed, 0 insertions, 0 deletions