summaryrefslogtreecommitdiffstats
path: root/otherlibs/win32unix/channels.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/win32unix/channels.c')
-rw-r--r--otherlibs/win32unix/channels.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/win32unix/channels.c b/otherlibs/win32unix/channels.c
index 13a2bf00b..cd2878c76 100644
--- a/otherlibs/win32unix/channels.c
+++ b/otherlibs/win32unix/channels.c
@@ -16,8 +16,8 @@
#include "unixsupport.h"
#include <fcntl.h>
-static int open_descr_flags[10] = {
- 0, 0, 0, 0, O_APPEND, 0, 0, 0, O_BINARY, O_TEXT
+static int open_descr_flags[3] = {
+ O_BINARY, O_TEXT, O_APPEND
};
value win_fd_handle(value handle, value flags) /* ML */