Commit 8e0f3c6
authored
filesystem: ErrorCode::IsDirectory when opening directory w/o READ (#12136)
* filesystem: ErrorCode::IsDirectory when opening director w/o READ
On Windows, it was possible to return a directory descriptor if READ
wasn't in the permissions. Fixes wasmtime for
WebAssembly/wasi-testsuite#176.
* Fix unused-variable error1 parent 69ef9af commit 8e0f3c6
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1045 | 1045 | | |
1046 | 1046 | | |
1047 | 1047 | | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
1048 | 1053 | | |
1049 | 1054 | | |
1050 | 1055 | | |
| |||
0 commit comments