| author | |
| committer | |
| log | 68bd82d0cc9b0cd07cde509c1c89a438b6d297c9 |
| tree | b64e1318aa992de16b9db8d54a1cc582a574a638 |
| parent | e47f340e23b44426c3d70ccbf1d2db5409ce6885 |
1 files changed, 1 insertions(+), 0 deletions(-)
lib/std/posix.zig+1| ... | ... | @@ -1056,6 +1056,7 @@ pub fn ftruncate(fd: fd_t, length: u64) TruncateError!void { |
| 1056 | 1056 | .SUCCESS => return, |
| 1057 | 1057 | .INVALID_HANDLE => unreachable, // Handle not open for writing |
| 1058 | 1058 | .ACCESS_DENIED => return error.AccessDenied, |
| 1059 | .USER_MAPPED_FILE => return error.AccessDenied, | |
| 1059 | 1060 | else => return windows.unexpectedStatus(rc), |
| 1060 | 1061 | } |
| 1061 | 1062 | } |