zig/lib
Pat Tullmann cf47d283d1 lib/std/posix/test.zig: don't compare blksize in "fstatat"
In trying to reproduce the race in #24380, my system tripped over the stat
"blocks" field changing in this test.  The value was almost always 8
(effectively 4k) or very infrequently 0 (I saw the 0 from both `fstat` and
`fstatat`).  I believe the underlying filesystem is free to asynchronously
change this value. For example, if it migrates a file between some
"inline" or maybe journal storage, and actual on-disk blocks.  So it seems
plausible that its allowed to change between stat calls.

Breaking up the struct comparison this way means we also don't compare any
of the padding or "reserved" fields, too.  And we can narrow down the
s390x-linux work-around.
2025-08-06 22:12:42 -07:00
..
build-web build system: replace fuzzing UI with build UI, add time report 2025-08-01 23:48:21 +01:00
c libc: implement common abs for various integer sizes (#23893) 2025-05-21 00:57:38 +02:00
compiler build runner: fix FTBFS on targets without --watch implementation 2025-08-04 09:47:56 +01:00
compiler_rt aarch64: add new from scratch self-hosted backend 2025-07-22 19:43:47 -07:00
docs autodoc: Use the search input's value on load (#24467) 2025-08-06 03:23:24 +00:00
include zig cc: Update intrinsic headers to Clang 20. 2025-04-04 06:08:09 +02:00
init init: replace '--strip' with '--minimal' 2025-07-25 16:24:02 +01:00
libc glibc: update crt0 code to 2.42 2025-08-01 09:00:27 +02:00
libcxx libcxx: Fix locale-related compilation errors on NetBSD. 2025-06-06 11:22:20 +02:00
libcxxabi libcxxabi: Update to Clang 20. 2025-04-04 06:08:09 +02:00
libtsan libtsan: Backport llvm/llvm-project#120036. 2025-05-12 16:24:59 +02:00
libunwind libunwind: Fix return type of DwarfFDECache<A>::findFDE() 2025-06-30 06:40:17 +02:00
std lib/std/posix/test.zig: don't compare blksize in "fstatat" 2025-08-06 22:12:42 -07:00
c.zig libc: implement common abs for various integer sizes (#23893) 2025-05-21 00:57:38 +02:00
compiler_rt.zig aarch64: implement more optional/error union/union support 2025-07-26 21:39:50 -04:00
fuzzer.zig build system: replace fuzzing UI with build UI, add time report 2025-08-01 23:48:21 +01:00
ubsan_rt.zig std.fmt: fully remove format string from format methods 2025-07-07 22:43:53 -07:00
zig.h x86_64: add support for pie executables 2025-06-06 23:42:14 -07:00