[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Preliminary patch for flock (just for discussion)
From: |
Richard W.M. Jones |
Subject: |
Preliminary patch for flock (just for discussion) |
Date: |
Thu, 2 Oct 2008 12:58:43 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
I have to go off and do something else this afternoon, but here is a
preliminary patch for flock support for Windows. It compiles with my
MinGW cross-compiler but I haven't really tested it properly yet.
As you can see, it introduces another header file replacement - for
<sys/file.h> On Linux this file just contains flock and its associated
definitions. On MinGW the file is empty except for an include of
<fcntl.h>.
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
Read my OCaml programming blog: http://camltastic.blogspot.com/
Fedora now supports 68 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
gnulib-flock-1.patch
Description: Text document