about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul E. Murphy <murphyp@linux.vnet.ibm.com>2016-01-19 13:42:44 -0600
committerTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>2016-01-22 14:21:03 -0200
commitfad7e4d70665a228f23761cdffe5da674ca768be (patch)
tree3dbe6a99840229ad79f5eb182487f2d555efee90 /ChangeLog
parentaf8ea0f449af7d3847351a4a5bafcd435a22ac31 (diff)
downloadglibc-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--ChangeLog7
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.