0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/std/os
Frank Denis 4e399ef62c Initialize the Stat structure
The system `stat` structure includes padding, and, on some
operating systems such as all BSDs, "spare" bytes at the end.

We can't reliably compare two `Stat` values if these are
uninitialized, while being later compared.

This is what was causing the `fstatat` test to fail on FreeBSD
since the update to LLVM 12. It was previously only passing by
accident.
History 2021-05-09 18:15:42 +02:00
..
bits Merge pull request #8683 from LemonBoy/thumblinux 2021-05-06 12:50:34 -04:00
linux std: update usage of std.testing 2021-05-08 15:15:30 +03:00
uefi boot_services: implement locateDevicePath 2021-03-25 16:45:43 +02:00
windows Fix std.os.windows.user32.messageBoxW 2021-04-16 13:01:25 -04:00
bits.zig initial support for haiku past stage0 2021-02-25 16:41:42 -07:00
darwin.zig Year++ 2020-12-31 15:45:24 -08:00
dragonfly.zig Year++ 2020-12-31 15:45:24 -08:00
freebsd.zig Year++ 2020-12-31 15:45:24 -08:00
haiku.zig initial support for haiku past stage0 2021-02-25 16:41:42 -07:00
linux.zig std: Initial bringup for Linux on Thumb2 2021-05-04 18:52:53 +02:00
netbsd.zig Year++ 2020-12-31 15:45:24 -08:00
openbsd.zig Year++ 2020-12-31 15:45:24 -08:00
test.zig Initialize the Stat structure 2021-05-09 18:15:42 +02:00
uefi.zig std.os.uefi.Guid fixes (#8032) 2021-02-21 12:17:59 +02:00
wasi.zig Year++ 2020-12-31 15:45:24 -08:00
windows.zig std: update usage of std.testing 2021-05-08 15:15:30 +03:00