I noticed this when compiling the port of popa3d on 6.1:

/*
 * Locking method your system uses for user mailboxes.  It is important
 * that you set this correctly.
 *
 * *BSDs use flock(2), others typically use fcntl(2).
 */
#define LOCK_FCNTL                      1
#define LOCK_FLOCK                      0


..why are we using 'fcntl' when the messages saus for *BSDs use 'flock' ?

Anyone have any idea?

-JD

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to