summaryrefslogtreecommitdiffstats
path: root/otherlibs/win32unix/channels.c
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>1998-05-10 16:42:53 +0000
committerXavier Leroy <xavier.leroy@inria.fr>1998-05-10 16:42:53 +0000
commitb6d5736e0d4f223dc33b1eb5c47bf53e10f423c5 (patch)
tree921bb0bf53dab6d17e30e77eb151fc1f4ff6ab42 /otherlibs/win32unix/channels.c
parentfece991745046e924aee36c64b6a36f90e420d99 (diff)
Implementer la meme interface qu'en Unix
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1950 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
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 */