From fad7e4d70665a228f23761cdffe5da674ca768be Mon Sep 17 00:00:00 2001 From: "Paul E. Murphy" Date: Tue, 19 Jan 2016 13:42:44 -0600 Subject: Fix nptl/tst-setuid3.c pthread_barrier_wait can return either PTHREAD_BARRIER_SERIAL_THREAD or 0. Posix makes no guarantees about which thread return the unique value. Additionally, pthread_join was not called despite seemingly checking for the error. --- ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index b07621be9e..9418e262cc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2016-01-22 Paul E. Murphy + + * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function. + (thread_func): Use new function to simplify barrier check. + (do_test): Use new function to simplify checking barrier exit + code, and actually join the child thread. + 2016-01-22 Paul E. Murphy * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove -- cgit v1.2.1