[PATCH 00/13] nptl: Fix Race conditions in pthread cancellation (BZ#12683)

Adhemerval Zanella adhemerval.zanella@linaro.org
Wed Oct 7 22:05:00 GMT 2015



On 07-10-2015 18:49, Adhemerval Zanella wrote:
> 
> 
> On 07-10-2015 18:01, Roland McGrath wrote:
>>> My mistake, I have it changed in the initial cover letter, but I forgot
>>> to re-add when I had to rewrite it.  And my understanding is for ILP32
>>> sizeof(long int) is the same as the sizeof(void*).
>>
>> No reason to assume that.  Use uintptr_t.
>>
> 
> Right, but I am not aware of any GLIBC supported system where sizeof(long)
> differs from sizeof(uintptr_t).
> 

But I see no problem on changing the function return to uintptr_t. I will
change that.



More information about the Libc-alpha mailing list