$OpenBSD: patch-src_batUnix_mliv,v 1.1 2013/11/25 14:35:26 dcoppa Exp $

Add the new O_CLOEXEC flag to Unix.open_flag

--- src/batUnix.mliv.orig	Thu Nov 14 15:57:01 2013
+++ src/batUnix.mliv	Thu Nov 14 15:58:57 2013
@@ -261,6 +261,10 @@ type open_flag = Unix.open_flag =
                                     O_SYNC/O_DSYNC) *)
 ##V4##  | O_SHARE_DELETE              (** OCaml 4 and Windows only: allow the file to be deleted
 ##V4##                                   while still open *)
+##V4.1##  | O_CLOEXEC                   (** Set the close-on-exec flag on the
+##V4.1##                                    descriptor returned by {!openfile}
+##V4.1##                                    
+##V4.1##                                    Since OCaml 4.1 *)
 (** The flags to {!Unix.openfile}. *)
 
 
