| author | |
| committer | |
| log | b1082a31a5701961fbbc7cd1dfcdb7172c85e50f |
| tree | eb7b917a99b01b68959ae3d03f5faceca694f13f |
| parent | 55acb29d68e7cb9a7585929f60c2dfb4c39a3b04 |
| signature |
1 files changed, 1 insertions(+), 0 deletions(-)
lib/std/os.zig+1| ... | ... | @@ -120,6 +120,7 @@ pub fn getFdPath(fd: std.posix.fd_t, out_buffer: *[max_path_bytes]u8) std.posix. |
| 120 | 120 | .SUCCESS => {}, |
| 121 | 121 | .BADF => return error.FileNotFound, |
| 122 | 122 | .NOSPC => return error.NameTooLong, |
| 123 | .NOENT => return error.FileNotFound, | |
| 123 | 124 | // TODO man pages for fcntl on macOS don't really tell you what |
| 124 | 125 | // errno values to expect when command is F.GETPATH... |
| 125 | 126 | else => |err| return posix.unexpectedErrno(err), |