From e1e0efeac8626808490ea83f7cbf20c189e8cad7 Mon Sep 17 00:00:00 2001 From: Paul Querna Date: Mon, 27 Oct 2008 00:43:45 +0000 Subject: [PATCH] * modules/cache/mod_socache_dbm.c (socache_dbm_init) Use AP_NEED_SET_MUTEX_PERMS to determine when we need to set the file permissions on the created DBM files, rather than listing a hodgepodge of operating systems by hand. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@708067 13f79535-47bb-0310-9956-ffa450edef68 --- modules/cache/mod_socache_dbm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/cache/mod_socache_dbm.c b/modules/cache/mod_socache_dbm.c index 9901d7ed46d..4efe4fb4420 100644 --- a/modules/cache/mod_socache_dbm.c +++ b/modules/cache/mod_socache_dbm.c @@ -121,7 +121,7 @@ static apr_status_t socache_dbm_init(ap_socache_instance_t *ctx, ctx->expiry_interval = (hints && hints->expiry_interval ? hints->expiry_interval : 30); -#if !defined(OS2) && !defined(WIN32) && !defined(BEOS) && !defined(NETWARE) +#if AP_NEED_SET_MUTEX_PERMS /* * We have to make sure the Apache child processes have access to * the DBM file. But because there are brain-dead platforms where we -- 2.47.2