Please review: Add EACCES check to the return value of fcntl()
littlee at linux.vnet.ibm.com
Tue Feb 14 23:11:39 PST 2012
Patch @ http://cr.openjdk.java.net/~littlee/OJDK-327/webrev.00/
The patch is mainly about add the EACCES when check the errno of fcntl
with command F_SETLK.
From the man page:
/If a conflicting lock is held by another process, this call returns -1
and sets errno to EACCES or EAGAIN.
/I propose to add the EACCES check. Would anyone help to review the patch?
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nio-dev