mirror of
https://github.com/janet-lang/janet
synced 2025-10-29 22:53:03 +00:00
Fix #1469
This commit is contained in:
@@ -2668,7 +2668,7 @@ JANET_CORE_FN(os_open,
|
|||||||
} else if (write_flag && !read_flag) {
|
} else if (write_flag && !read_flag) {
|
||||||
open_flags |= O_WRONLY;
|
open_flags |= O_WRONLY;
|
||||||
} else {
|
} else {
|
||||||
open_flags = O_RDWR;
|
open_flags |= O_RDWR;
|
||||||
}
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
|
|||||||
Reference in New Issue
Block a user