authorgravatar for mail@linusgroh.deLinus Groh <mail@linusgroh.de> 2025-07-24 00:24:55+01:00
committergravatar for mail@linusgroh.deLinus Groh <mail@linusgroh.de> 2025-07-24 00:24:55+01:00
logea90ec4d8861427b3bca8b230ec04920a1242443
tree4c92d9e2488cd4214cbada402135fb84324d5883
parentbc8e1a74c514e487842c03ab32d7f6e49f42c529

std.c: Fix dirent.name size for serenity

The null terminator is added to the buffer size.

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

lib/std/c.zig+1-1
...@@ -7147,7 +7147,7 @@ pub const dirent = switch (native_os) {...@@ -7147,7 +7147,7 @@ pub const dirent = switch (native_os) {
7147 off: off_t,7147 off: off_t,
7148 reclen: c_ushort,7148 reclen: c_ushort,
7149 type: u8,7149 type: u8,
7150 name: [256:0]u8,7150 name: [255:0]u8,
7151 },7151 },
7152 else => void,7152 else => void,
7153};7153};