summaryrefslogtreecommitdiffstats
path: root/otherlibs/win32unix/open.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/open.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/open.c')
-rw-r--r--otherlibs/win32unix/open.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/otherlibs/win32unix/open.c b/otherlibs/win32unix/open.c
index 3e4980d3d..1acd7f409 100644
--- a/otherlibs/win32unix/open.c
+++ b/otherlibs/win32unix/open.c
@@ -16,12 +16,12 @@
#include "unixsupport.h"
#include <fcntl.h>
-static int open_access_flags[10] = {
- GENERIC_READ, GENERIC_WRITE, GENERIC_READ|GENERIC_WRITE, 0, 0, 0, 0, 0, 0, 0
+static int open_access_flags[8] = {
+ GENERIC_READ, GENERIC_WRITE, GENERIC_READ|GENERIC_WRITE, 0, 0, 0, 0, 0,
};
-static int open_create_flags[10] = {
- 0, 0, 0, 0, 0, O_CREAT, O_TRUNC, O_EXCL, 0, 0
+static int open_create_flags[8] = {
+ 0, 0, 0, 0, 0, O_CREAT, O_TRUNC, O_EXCL
};
value unix_open(value path, value flags, value perm) /* ML */