arrfab / rpms / glibc

Forked from rpms/glibc 4 years ago
Clone

Blame SOURCES/glibc-rh841653-11.patch

147e83
commit 7f786dc12bd60f0a134e538429fef98350e4c814
147e83
Author: Torvald Riegel <triegel@redhat.com>
147e83
Date:   Mon Dec 15 22:09:55 2014 +0100
147e83
147e83
    Fix nptl/tst-mutex5.c: Do not skip tests if elision is enabled.
147e83
Index: glibc-2.17-c758a686/nptl/tst-mutex5.c
147e83
===================================================================
147e83
--- glibc-2.17-c758a686.orig/nptl/tst-mutex5.c
147e83
+++ glibc-2.17-c758a686/nptl/tst-mutex5.c
147e83
@@ -86,8 +86,6 @@ do_test (void)
147e83
       return 1;
147e83
     }
147e83
 
147e83
-  /* Elided locks do not time out.  */
147e83
-#ifndef ENABLE_LOCK_ELISION
147e83
   if (pthread_mutex_trylock (&m) == 0)
147e83
     {
147e83
       puts ("mutex_trylock succeeded");
147e83
@@ -183,7 +181,6 @@ do_test (void)
147e83
       puts ("3rd timedlock didn't return right away");
147e83
       return 1;
147e83
     }
147e83
-#endif
147e83
 
147e83
   if (pthread_mutex_unlock (&m) != 0)
147e83
     {