apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r415267 - /apr/apr/trunk/build/apr_threads.m4
Date Mon, 19 Jun 2006 09:21:14 GMT
Author: jorton
Date: Mon Jun 19 02:21:13 2006
New Revision: 415267

URL: http://svn.apache.org/viewvc?rev=415267&view=rev
Log:
* build/apr_threads.m4 (APR_CHECK_PTHREAD_ROBUST_SHARED_MUTEX): 
Fix detection of robust cross-process pthread mutexes.

PR: 39833
Submitted by: Tsuyoshi SASAMOTO <nazonazo miobox.jp>

Modified:
    apr/apr/trunk/build/apr_threads.m4

Modified: apr/apr/trunk/build/apr_threads.m4
URL: http://svn.apache.org/viewvc/apr/apr/trunk/build/apr_threads.m4?rev=415267&r1=415266&r2=415267&view=diff
==============================================================================
--- apr/apr/trunk/build/apr_threads.m4 (original)
+++ apr/apr/trunk/build/apr_threads.m4 Mon Jun 19 02:21:13 2006
@@ -263,7 +263,7 @@
         exit(2);
     if (pthread_mutexattr_setrobust_np(&attr, PTHREAD_MUTEX_ROBUST_NP))
         exit(3);
-    if (pthread_mutexattr_setprotocol(&mattr, PTHREAD_PRIO_INHERIT))
+    if (pthread_mutexattr_setprotocol(&attr, PTHREAD_PRIO_INHERIT))
         exit(4);
     if (pthread_mutex_init(&mutex, &attr))
         exit(5);



Mime
View raw message