[PATCH] Fix nptl/tst-setuid3.c

Tulio Magno Quites Machado Filho tuliom@linux.vnet.ibm.com
Fri Jan 22 18:31:00 GMT 2016


"Paul E. Murphy" <murphyp@linux.vnet.ibm.com> writes:

> On 01/19/2016 02:33 PM, Florian Weimer wrote:
>> On 01/19/2016 09:32 PM, Paul E. Murphy wrote:
>>> +/* True if pthread_barrier_wait returns without an error.  */
>>> +static inline bool
>>> +is_invalid_barrier_ret (int x)
>>> +{
>>> +  return x != 0 && x != PTHREAD_BARRIER_SERIAL_THREAD;
>>> +}
>> 
>> Sorry, just realized that the comment is wrong, should be “returned
>> *with* an error”. :-/
>
> Thanks for point that out.
>
> Sigh, third time is a charm? I rewrote the comment.

Pushed as fad7e4d7 for 2.23.

-- 
Tulio Magno



More information about the Libc-alpha mailing list