From 9ea5edac9ab0b3860688583a2ff22a9e164be086 Mon Sep 17 00:00:00 2001 From: Damien Doligez Date: Fri, 11 Jan 2008 16:13:18 +0000 Subject: merge changes 3.10.0 -> 3.10.1 git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8768 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02 --- otherlibs/win32unix/open.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'otherlibs/win32unix/open.c') diff --git a/otherlibs/win32unix/open.c b/otherlibs/win32unix/open.c index 76e73e3ae..f2f334bbb 100644 --- a/otherlibs/win32unix/open.c +++ b/otherlibs/win32unix/open.c @@ -18,12 +18,13 @@ #include "unixsupport.h" #include -static int open_access_flags[8] = { - GENERIC_READ, GENERIC_WRITE, GENERIC_READ|GENERIC_WRITE, 0, 0, 0, 0, 0, +static int open_access_flags[12] = { + GENERIC_READ, GENERIC_WRITE, GENERIC_READ|GENERIC_WRITE, + 0, 0, 0, 0, 0, 0, 0, 0, 0 }; -static int open_create_flags[8] = { - 0, 0, 0, 0, 0, O_CREAT, O_TRUNC, O_EXCL +static int open_create_flags[12] = { + 0, 0, 0, 0, 0, O_CREAT, O_TRUNC, O_EXCL, 0, 0, 0, 0 }; CAMLprim value unix_open(value path, value flags, value perm) -- cgit v1.2.3-70-g09d2