7014794: (file) lookupPrincipalByGroupName fails to find NIS group

Alan Bateman Alan.Bateman at oracle.com
Thu Feb 3 05:30:04 PST 2011


Chris Hegarty wrote:
> The changes look fine.
>
> I guess rather than defining RESTARTABLE_RETURN_PTR you could have 
> added the error/notFound value to RESTARTABLE_RETURN?
Thanks for looking at this.

The reason for RESTARTABLE_RETURN_PTR is that the reentrant functions on 
Solaris return a pointer to the password or group structure rather than 
the usual int to indicate success or error.

-Alan


More information about the nio-dev mailing list