drd: Avoid that the drd/tests/pth_mutex_reinit test fails with glibc >= 2.18
commitea8a9313c2039d704b450202a7e04c251f59d4e3
authorBart Van Assche <bvanassche@acm.org>
Sat, 8 Feb 2014 10:55:08 +0000 (8 10:55 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sat, 8 Feb 2014 10:55:08 +0000 (8 10:55 +0000)
tree2f392bf99f49a6ab57c51c874b9522002364d081
parent49987d5c4a2704149de1355d304a553ecabea142
drd: Avoid that the drd/tests/pth_mutex_reinit test fails with glibc >= 2.18

Apparently with glibc >= 2.18 the value returned by pthread_mutexattr_gettype()
is not the same as the value passed to pthread_mutexattr_settype(). Add a
workaround for this glibc bug.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13792
drd/drd_pthread_intercepts.c