httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r941467 - /httpd/mod_fcgid/trunk/modules/fcgid/fcgid_mutex_unix.c
Date Wed, 05 May 2010 20:22:05 GMT
Author: trawick
Date: Wed May  5 20:22:04 2010
New Revision: 941467

URL: http://svn.apache.org/viewvc?rev=941467&view=rev
Log:
catch up with httpd trunk changes to ap_ mutex APIs

(users with an older level of httpd trunk lose the
ability to control mod_fcgid's mutexes with the Mutex
directive)

Modified:
    httpd/mod_fcgid/trunk/modules/fcgid/fcgid_mutex_unix.c

Modified: httpd/mod_fcgid/trunk/modules/fcgid/fcgid_mutex_unix.c
URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/modules/fcgid/fcgid_mutex_unix.c?rev=941467&r1=941466&r2=941467&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/modules/fcgid/fcgid_mutex_unix.c (original)
+++ httpd/mod_fcgid/trunk/modules/fcgid/fcgid_mutex_unix.c Wed May  5 20:22:04 2010
@@ -23,7 +23,7 @@
 #include "http_log.h"
 #include "fcgid_mutex.h"
 
-#if AP_MODULE_MAGIC_AT_LEAST(20091119,1)
+#if AP_MODULE_MAGIC_AT_LEAST(20100504,0)
 
 #include "util_mutex.h"
 
@@ -41,14 +41,12 @@ apr_status_t fcgid_mutex_create(apr_glob
 {
     apr_status_t rv;
 
-    *lockfile = NULL;
-    rv = ap_global_mutex_create(mutex, mutex_type, NULL, main_server,
+    rv = ap_global_mutex_create(mutex, lockfile, mutex_type, NULL, main_server,
                                 pconf, 0);
     if (rv != APR_SUCCESS) {
         return rv;
     }
 
-    *lockfile = apr_global_mutex_lockfile(*mutex);
     return APR_SUCCESS;
 }
 



Mime
View raw message