From b6d5736e0d4f223dc33b1eb5c47bf53e10f423c5 Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Sun, 10 May 1998 16:42:53 +0000 Subject: Implementer la meme interface qu'en Unix git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1950 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02 --- otherlibs/win32unix/open.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'otherlibs/win32unix/open.c') 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 -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 */ -- cgit v1.2.3-70-g09d2