On 9/25/2013 02:24, wynfi...@gmail.com wrote:
"Your vendor has not defined Fcntl macro O_EXLOCK,"
O_EXLOCK is a BSD feature, and Cygwin tries to emulate Linux, not BSD.
Minimal testing tells me you can use Cygwin's nonstandard
F_LCK_MANDATORY feature from Perl. This script, foo.pl, doesn't
Re: Perl 5, version 14, subversion 2 (v5.14.2)
Cygwin: CYGWIN_NT-5.1 1.7.25(0.270/5/3
In Perl (I am attempting to open a file and put an exclusive lock on it to
update
it like this:
###
use Fcntl qw( O_RDWR O_CREAT O_NONBLOCK O_EXLOCK );
2 matches
Mail list logo