summaryrefslogtreecommitdiffstats
path: root/otherlibs/win32unix/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/win32unix/open.c')
-rw-r--r--otherlibs/win32unix/open.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/otherlibs/win32unix/open.c b/otherlibs/win32unix/open.c
index a2ffa4e1e..afb8d0fb9 100644
--- a/otherlibs/win32unix/open.c
+++ b/otherlibs/win32unix/open.c
@@ -40,7 +40,8 @@ CAMLprim value unix_open(value path, value flags, value perm)
HANDLE h;
fileaccess = convert_flag_list(flags, open_access_flags);
- sharemode = FILE_SHARE_READ | FILE_SHARE_WRITE | convert_flag_list(flags, open_share_flags);
+ sharemode = FILE_SHARE_READ | FILE_SHARE_WRITE
+ | convert_flag_list(flags, open_share_flags);
createflags = convert_flag_list(flags, open_create_flags);
if ((createflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL))