| author | |
| committer | |
| log | 77aa4155ea62fa88895ddcc566ed99d0d7031c55 |
| tree | 1e02b4942ce1e1ff8ed6c9ccb7cdabcd472cb5ef |
| parent | faef89cc6d74ebd75f82f95d55871a7282af8309 |
| signature | Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM |
a bug it should map to which should OperationUnsupported error is
a better fit to the system call response.1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/Io/Threaded.zig+1-1| ... | ... | @@ -8063,7 +8063,7 @@ fn dirRenamePreserveLinux( |
| 8063 | 8063 | .XDEV => return syscall.fail(error.CrossDevice), |
| 8064 | 8064 | .ILSEQ => return syscall.fail(error.BadPathName), |
| 8065 | 8065 | .FAULT => |err| return syscall.errnoBug(err), |
| 8066 | .INVAL => |err| return syscall.errnoBug(err), | |
| 8066 | .INVAL => return syscall.fail(error.OperationUnsupported), | |
| 8067 | 8067 | else => |err| return syscall.unexpectedErrno(err), |
| 8068 | 8068 | }; |
| 8069 | 8069 | } |