diff options
author | Paul E. Murphy <murphyp@linux.vnet.ibm.com> | 2016-01-19 13:42:44 -0600 |
---|---|---|
committer | Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> | 2016-01-22 14:21:03 -0200 |
commit | fad7e4d70665a228f23761cdffe5da674ca768be (patch) | |
tree | 3dbe6a99840229ad79f5eb182487f2d555efee90 /ChangeLog | |
parent | af8ea0f449af7d3847351a4a5bafcd435a22ac31 (diff) | |
download | glibc-fad7e4d70665a228f23761cdffe5da674ca768be.tar.gz glibc-fad7e4d70665a228f23761cdffe5da674ca768be.tar.xz glibc-fad7e4d70665a228f23761cdffe5da674ca768be.zip |
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index b07621be9e..9418e262cc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com> + * 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 <murphyp@linux.vnet.ibm.com> + * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove semicolon. (__libc_tend): Likewise. |