Give default value of O_NOFOLLOW if it is not defined
Alan Bateman
Alan.Bateman at oracle.com
Wed Dec 28 02:50:03 PST 2011
On 28/12/2011 06:34, Charles Lee wrote:
> Hi net and nio,
>
> I would like to propose a fix[1] which give the default value of
> O_NOFOLLOW if, one some platforms, O_NOFOLLOW is not defined. Would
> anyone help to review this fix?
>
> [1]: http://cr.openjdk.java.net/~littlee/OJDK-226/webrev.00/
> <http://cr.openjdk.java.net/%7Elittlee/OJDK-226/webrev.00/>
>
Charles - your patch will get over a build issue on platforms where
O_NOFOLLOW isn't supported but will mean that NOFOLLOW is ignored at
runtime. In order to allow for this it will require changes in several
places so that UOE is thrown as expected. I'm on vacation this week but
will reply next week with more details.
-Alan
More information about the nio-dev
mailing list