You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by wr...@apache.org on 2005/07/12 21:17:43 UTC
cvs commit: jakarta-tomcat-connectors/jk/native/apache-2.0 mod_jk.c
wrowe 2005/07/12 12:17:43
Modified: jk/native/apache-2.0 mod_jk.c
Log:
Use the same mutex check as we use in the unix MPMs.
Revision Changes Path
1.152 +3 -3 jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c
Index: mod_jk.c
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c,v
retrieving revision 1.151
retrieving revision 1.152
diff -u -r1.151 -r1.152
--- mod_jk.c 16 Jun 2005 06:30:45 -0000 1.151
+++ mod_jk.c 12 Jul 2005 19:17:42 -0000 1.152
@@ -68,7 +68,7 @@
#include "apr_strings.h"
-#if APR_USE_SYSVSEM_SERIALIZE || APR_USE_FLOCK_SERIALIZE
+#ifdef AP_NEED_SET_MUTEX_PERMS
#include "unixd.h" /* for unixd_set_global_mutex_perms */
#endif
/*
@@ -2419,7 +2419,7 @@
return HTTP_INTERNAL_SERVER_ERROR;
}
-#if APR_USE_SYSVSEM_SERIALIZE || APR_USE_FLOCK_SERIALIZE
+#ifdef AP_NEED_SET_MUTEX_PERMS
rv = unixd_set_global_mutex_perms(jk_log_lock);
if (rv != APR_SUCCESS) {
ap_log_error(APLOG_MARK, APLOG_CRIT, rv, s,
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org