This commit is contained in:
Calvin Rose
2024-06-26 08:54:26 -05:00
parent a5d6b22838
commit 0f4ecd93ab
+1 -1
View File
@@ -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 {