From 7713016316e8607f68be8f11a53bae967448245d Mon Sep 17 00:00:00 2001 From: Aaron Bannert Date: Mon, 6 May 2002 21:00:50 +0000 Subject: [PATCH] Protect us from this dirty hack that gets SysV Sem working again on mod_rewrite. This, along with the original usage of a unix-only function in mod_rewrite, is a temporary stopgap measure designed only to workaround limitations in APR's handling of permission attributes. It shall be removed as soon as that interface is improved. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94972 13f79535-47bb-0310-9956-ffa450edef68 --- modules/mappers/mod_rewrite.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/mappers/mod_rewrite.c b/modules/mappers/mod_rewrite.c index fe5e3a6346..ce58a31511 100644 --- a/modules/mappers/mod_rewrite.c +++ b/modules/mappers/mod_rewrite.c @@ -964,6 +964,7 @@ static int post_config(apr_pool_t *p, return HTTP_INTERNAL_SERVER_ERROR; } +#if !defined(OS2) && !defined(WIN32) && !defined(BEOS) && !defined(NETWARE) rv = unixd_set_global_mutex_perms(rewrite_log_lock); if (rv != APR_SUCCESS) { ap_log_error(APLOG_MARK, APLOG_CRIT, rv, s, @@ -971,6 +972,7 @@ static int post_config(apr_pool_t *p, "rewrite_log_lock; check User and Group directives"); return HTTP_INTERNAL_SERVER_ERROR; } +#endif rv = rewritelock_create(s, p); if (rv != APR_SUCCESS) { @@ -3327,6 +3329,7 @@ static apr_status_t rewritelock_create(server_rec *s, apr_pool_t *p) return rc; } +#if !defined(OS2) && !defined(WIN32) && !defined(BEOS) && !defined(NETWARE) rc = unixd_set_global_mutex_perms(rewrite_mapr_lock_acquire); if (rc != APR_SUCCESS) { ap_log_error(APLOG_MARK, APLOG_CRIT, rc, s, @@ -3334,6 +3337,7 @@ static apr_status_t rewritelock_create(server_rec *s, apr_pool_t *p) "on RewriteLock; check User and Group directives"); return rc; } +#endif return APR_SUCCESS; } -- 2.40.0