mirror of
https://github.com/janet-lang/janet
synced 2025-04-04 22:36:55 +00:00
Fix #1469
This commit is contained in:
parent
a5d6b22838
commit
0f4ecd93ab
@ -2668,7 +2668,7 @@ JANET_CORE_FN(os_open,
|
||||
} else if (write_flag && !read_flag) {
|
||||
open_flags |= O_WRONLY;
|
||||
} else {
|
||||
open_flags = O_RDWR;
|
||||
open_flags |= O_RDWR;
|
||||
}
|
||||
|
||||
do {
|
||||
|
Loading…
x
Reference in New Issue
Block a user