From: Greg Ames Date: Mon, 20 May 2002 18:13:14 +0000 (+0000) Subject: don't try to set permissions on the rewrite_log_lock unless it is a SysV X-Git-Tag: 2.0.37~330 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31e25d29fe59499c287b579f21a28d5d364ce30a;p=thirdparty%2Fapache%2Fhttpd.git don't try to set permissions on the rewrite_log_lock unless it is a SysV sem git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95188 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/mappers/mod_rewrite.c b/modules/mappers/mod_rewrite.c index 7016e1d10a9..b1d7a2e74e2 100644 --- a/modules/mappers/mod_rewrite.c +++ b/modules/mappers/mod_rewrite.c @@ -964,7 +964,7 @@ static int post_config(apr_pool_t *p, return HTTP_INTERNAL_SERVER_ERROR; } -#if !defined(OS2) && !defined(WIN32) && !defined(BEOS) && !defined(NETWARE) +#if APR_USE_SYSVSEM_SERIALIZE rv = unixd_set_global_mutex_perms(rewrite_log_lock); if (rv != APR_SUCCESS) { ap_log_error(APLOG_MARK, APLOG_CRIT, rv, s,