authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-13 20:59:05+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-22 22:15:31+02:00
log8f7bcf75bb51a038bb3ba2618e2b7bff6773881f
tree3aa496da4c6bbf1ff2063b782d12ddd7551be255
parent20eaa98cd2dc05c39e15779cb989965aea79cc27
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.c: fix Stat on dragonfly to use the correct field as blksize


1 files changed, 2 insertions(+), 2 deletions(-)

lib/std/c.zig+2-2
...@@ -7895,11 +7895,11 @@ pub const Stat = switch (native_os) {...@@ -7895,11 +7895,11 @@ pub const Stat = switch (native_os) {
7895 ctim: timespec,7895 ctim: timespec,
7896 size: c_ulong,7896 size: c_ulong,
7897 blocks: i64,7897 blocks: i64,
7898 blksize: u32,7898 _old_blksize: u32,
7899 flags: u32,7899 flags: u32,
7900 gen: u32,7900 gen: u32,
7901 lspare: i32,7901 lspare: i32,
7902 qspare1: i64,7902 blksize: blksize_t,
7903 qspare2: i64,7903 qspare2: i64,
7904 pub fn atime(self: @This()) timespec {7904 pub fn atime(self: @This()) timespec {
7905 return self.atim;7905 return self.atim;