[PATCH] Fix nptl/tst-setuid3.c

Florian Weimer fweimer@redhat.com
Tue Jan 19 20:34:00 GMT 2016


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”. :-/

Otherwise, still okay from my point of view.

Florian



More information about the Libc-alpha mailing list