authorgravatar for bryce@brycevandegrift.xyzBryce Vandegrift <bryce@brycevandegrift.xyz> 2025-01-18 14:21:12-05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-01-20 21:07:49-08:00
loge4d570695777af643e375343a904a024250de98d
tree8319eab1d30da713e5b16bf0ea52cafb164afec2
parent160445ef316f76dfddfa17b11c4919a3e14f486d

std.posix: Fix errno 13 when writing to file


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

lib/std/posix.zig+1
......@@ -1269,6 +1269,7 @@ pub fn write(fd: fd_t, bytes: []const u8) WriteError!usize {
12691269 .FBIG => return error.FileTooBig,
12701270 .IO => return error.InputOutput,
12711271 .NOSPC => return error.NoSpaceLeft,
1272 .ACCES => return error.AccessDenied,
12721273 .PERM => return error.AccessDenied,
12731274 .PIPE => return error.BrokenPipe,
12741275 .CONNRESET => return error.ConnectionResetByPeer,