mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 14:23:09 +00:00
std.c: Fix dirent.name size for serenity
The null terminator is added to the buffer size.
This commit is contained in:
parent
bc8e1a74c5
commit
ea90ec4d88
@ -7147,7 +7147,7 @@ pub const dirent = switch (native_os) {
|
|||||||
off: off_t,
|
off: off_t,
|
||||||
reclen: c_ushort,
|
reclen: c_ushort,
|
||||||
type: u8,
|
type: u8,
|
||||||
name: [256:0]u8,
|
name: [255:0]u8,
|
||||||
},
|
},
|
||||||
else => void,
|
else => void,
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user