[PATCH] Fix nptl/tst-setuid3.c
Paul E. Murphy
murphyp@linux.vnet.ibm.com
Tue Jan 19 23:31:00 GMT 2016
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.
> Otherwise, still okay from my point of view.
>
> Florian
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-nptl-tst-setuid3.c-v3.patch
Type: text/x-patch
Size: 2505 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160119/99e0cba7/attachment.bin>
More information about the Libc-alpha
mailing list