mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-19 04:50:29 +00:00
wasi: make os.open work with absolute paths
This commit is contained in:
@@ -962,7 +962,7 @@ prestat_dir_t :: struct {
|
||||
}
|
||||
|
||||
prestat_t :: struct {
|
||||
tag: u8,
|
||||
tag: preopentype_t,
|
||||
using u: struct {
|
||||
dir: prestat_dir_t,
|
||||
},
|
||||
@@ -1158,7 +1158,7 @@ foreign wasi {
|
||||
/**
|
||||
* A buffer into which to write the preopened directory name.
|
||||
*/
|
||||
path: string,
|
||||
path: []byte,
|
||||
) -> errno_t ---
|
||||
/**
|
||||
* Create a directory.
|
||||
|
||||
Reference in New Issue
Block a user