Commit ea90ec4d88

Linus Groh <mail@linusgroh.de>
2025-07-24 01:24:55
std.c: Fix dirent.name size for serenity
The null terminator is added to the buffer size.
1 parent bc8e1a7
Changed files (1)
lib
std
lib/std/c.zig
@@ -7147,7 +7147,7 @@ pub const dirent = switch (native_os) {
         off: off_t,
         reclen: c_ushort,
         type: u8,
-        name: [256:0]u8,
+        name: [255:0]u8,
     },
     else => void,
 };