[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
[ID 20000125.002] Problem in documentation of Fcntl constants
The Perl documentation of Fcntl at
http://www.perl.com/pub/doc/manual/html/pod/perlfunc/flock.html says: "If
LOCK_NB is added to LOCK_SH or LOCK_EX then flock() will return immediately
rather than blocking waiting for the lock (check the return status to see if
you got it)."
After a discussion in the perl.misc newsgroup, everyone agreed that the
operation should be a logical OR, not an ADD. I'm submitting this as a
documentation bug, in hopes that this is the appropriate channel to get the
document changed. In conjunction with the bug in the definition of the
constants themselves (reported in my previous Email), this caused me
tremendous problems.
-- Warren
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]