[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patches] [PATCH] fix build with linuxthreads



On Mon, 2 Mar 2009, Aurelien Jarno wrote:

> Actually this patch fixes linuxthreads, but breaks NPTL. I think the
> best is simply to remove the brackets, after all the function was called
> that way before the #define changes.
> 
> Please find and updated patch below.
> 
> Best regards,
> Aurelien
> 
> 2009-03-01  Aurelien Jarno  <aurelien@xxxxxxxxxxx>
> 
> 	* nss/nsswitch.c (lock_nsswitch, unlock_nsswitch): remove brackets.

I have committed this patch, though I strongly recommend in the interests 
of maintainability that any targets that cannot use NPTL use some library 
whose headers provide the same interface as the NPTL headers to avoid the 
need for such libc changes.

-- 
Joseph S. Myers
joseph@xxxxxxxxxxxxxxxx