]> granicus.if.org Git - apache/commitdiff
* modules/cache/mod_socache_dbm.c
authorPaul Querna <pquerna@apache.org>
Mon, 27 Oct 2008 00:43:45 +0000 (00:43 +0000)
committerPaul Querna <pquerna@apache.org>
Mon, 27 Oct 2008 00:43:45 +0000 (00:43 +0000)
  (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

index 9901d7ed46dbf081e308c41d1bcb75152701f63f..4efe4fb4420b196a8636483492a4b32893dae072 100644 (file)
@@ -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