Commit 3a82b1b5 authored by Paul Querna's avatar Paul Querna
Browse files

* 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
parent 7fe79100
Loading
Loading
Loading
Loading
+1 −1
Changes for modules/cache/mod_socache_dbm.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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