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


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


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