| ... | ... | @@ -10030,6 +10030,7 @@ fn fileReadStreamingPosix(file: File, data: []const []u8) File.ReadStreamingErro |
| 10030 | 10030 | if (native_os == .wasi) return error.IsDir; // File operation on directory. |
| 10031 | 10031 | return error.NotOpenForReading; |
| 10032 | 10032 | }, |
| 10033 | .ACCES => return syscall.fail(error.AccessDenied), |
| 10033 | 10034 | .AGAIN => return syscall.fail(error.WouldBlock), |
| 10034 | 10035 | .IO => return syscall.fail(error.InputOutput), |
| 10035 | 10036 | .ISDIR => return syscall.fail(error.IsDir), |
| ... | ... | @@ -10208,6 +10209,7 @@ fn fileReadPositionalPosix(file: File, data: []const []u8, offset: u64) File.Rea |
| 10208 | 10209 | try syscall.checkCancel(); |
| 10209 | 10210 | continue; |
| 10210 | 10211 | }, |
| 10212 | .ACCES => return syscall.fail(error.AccessDenied), |
| 10211 | 10213 | .NXIO => return syscall.fail(error.Unseekable), |
| 10212 | 10214 | .SPIPE => return syscall.fail(error.Unseekable), |
| 10213 | 10215 | .OVERFLOW => return syscall.fail(error.Unseekable), |
| ... | ... | @@ -10242,6 +10244,7 @@ fn fileReadPositionalPosix(file: File, data: []const []u8, offset: u64) File.Rea |
| 10242 | 10244 | try syscall.checkCancel(); |
| 10243 | 10245 | continue; |
| 10244 | 10246 | }, |
| 10247 | .ACCES => return syscall.fail(error.AccessDenied), |
| 10245 | 10248 | .NXIO => return syscall.fail(error.Unseekable), |
| 10246 | 10249 | .SPIPE => return syscall.fail(error.Unseekable), |
| 10247 | 10250 | .OVERFLOW => return syscall.fail(error.Unseekable), |