This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix nptl/tst-setuid3.c


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]