This commit is contained in:
Bruno Franca dos Reis 2024-11-20 20:48:38 -08:00 committed by GitHub
commit 13472f5e07
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1817,6 +1817,7 @@ pub fn openatZ(dir_fd: fd_t, file_path: [*:0]const u8, flags: O, mode: mode_t) O
.OPNOTSUPP => return error.FileLocksNotSupported,
.AGAIN => return error.WouldBlock,
.TXTBSY => return error.FileBusy,
.NXIO => return error.NoDevice,
.ILSEQ => |err| if (native_os == .wasi)
return error.InvalidUtf8
else