| ... | ... | @@ -10008,6 +10008,7 @@ fn fileReadStreamingPosix(file: File, data: []const []u8) File.ReadStreamingErro |
| 10008 | 10008 | if (native_os == .wasi) return error.IsDir; // File operation on directory. |
| 10009 | 10009 | return error.NotOpenForReading; |
| 10010 | 10010 | }, |
| 10011 | .ACCES => return syscall.fail(error.AccessDenied), |
| 10011 | 10012 | .AGAIN => return syscall.fail(error.WouldBlock), |
| 10012 | 10013 | .IO => return syscall.fail(error.InputOutput), |
| 10013 | 10014 | .ISDIR => return syscall.fail(error.IsDir), |
| ... | ... | @@ -10186,6 +10187,7 @@ fn fileReadPositionalPosix(file: File, data: []const []u8, offset: u64) File.Rea |
| 10186 | 10187 | try syscall.checkCancel(); |
| 10187 | 10188 | continue; |
| 10188 | 10189 | }, |
| 10190 | .ACCES => return syscall.fail(error.AccessDenied), |
| 10189 | 10191 | .NXIO => return syscall.fail(error.Unseekable), |
| 10190 | 10192 | .SPIPE => return syscall.fail(error.Unseekable), |
| 10191 | 10193 | .OVERFLOW => return syscall.fail(error.Unseekable), |
| ... | ... | @@ -10220,6 +10222,7 @@ fn fileReadPositionalPosix(file: File, data: []const []u8, offset: u64) File.Rea |
| 10220 | 10222 | try syscall.checkCancel(); |
| 10221 | 10223 | continue; |
| 10222 | 10224 | }, |
| 10225 | .ACCES => return syscall.fail(error.AccessDenied), |
| 10223 | 10226 | .NXIO => return syscall.fail(error.Unseekable), |
| 10224 | 10227 | .SPIPE => return syscall.fail(error.Unseekable), |
| 10225 | 10228 | .OVERFLOW => return syscall.fail(error.Unseekable), |