Just a guess, it may be because flock locks aren't POSIX afaik, so if you have two copies of the same descriptor open and close one you'll lose your fcntl lock, but not your flock lock.
-Alfred * Dag-Erling Smorgrav <[EMAIL PROTECTED]> [070803 04:29] wrote: > des 2007-08-03 11:29:49 UTC > > FreeBSD src repository > > Modified files: > tools/regression/lib/libutil Makefile > Added files: > tools/regression/lib/libutil test-flopen.c test-flopen.t > Log: > Add regression tests for flopen(3). > > Approved by: re (blanket) > > Revision Changes Path > 1.2 +1 -1 src/tools/regression/lib/libutil/Makefile > 1.1 +176 -0 src/tools/regression/lib/libutil/test-flopen.c (new) > 1.1 +12 -0 src/tools/regression/lib/libutil/test-flopen.t (new) -- - Alfred Perlstein _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"
