You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by pq...@apache.org on 2008/10/27 01:43:46 UTC

svn commit: r708067 - /httpd/httpd/trunk/modules/cache/mod_socache_dbm.c

Author: pquerna
Date: Sun Oct 26 17:43:45 2008
New Revision: 708067

URL: http://svn.apache.org/viewvc?rev=708067&view=rev
Log:
* 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.

Modified:
    httpd/httpd/trunk/modules/cache/mod_socache_dbm.c

Modified: httpd/httpd/trunk/modules/cache/mod_socache_dbm.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_socache_dbm.c?rev=708067&r1=708066&r2=708067&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_socache_dbm.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_socache_dbm.c Sun Oct 26 17:43:45 2008
@@ -121,7 +121,7 @@
     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