httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r1208527 - in /httpd/httpd: branches/2.4.x/modules/cache/mod_socache_dbm.c trunk/modules/cache/mod_socache_dbm.c
Date Wed, 30 Nov 2011 17:16:10 GMT
Author: fuankg
Date: Wed Nov 30 17:16:09 2011
New Revision: 1208527

URL: http://svn.apache.org/viewvc?rev=1208527&view=rev
Log:
Fixed compilation for non-*nix platforms.

Modified:
    httpd/httpd/branches/2.4.x/modules/cache/mod_socache_dbm.c
    httpd/httpd/trunk/modules/cache/mod_socache_dbm.c

Modified: httpd/httpd/branches/2.4.x/modules/cache/mod_socache_dbm.c
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/modules/cache/mod_socache_dbm.c?rev=1208527&r1=1208526&r2=1208527&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/modules/cache/mod_socache_dbm.c (original)
+++ httpd/httpd/branches/2.4.x/modules/cache/mod_socache_dbm.c Wed Nov 30 17:16:09 2011
@@ -95,6 +95,7 @@ static const char *socache_dbm_create(ap
     return NULL;
 }
 
+#if AP_NEED_SET_MUTEX_PERMS
 static int try_chown(apr_pool_t *p, server_rec *s,
                      const char *name, const char *suffix)
 {
@@ -110,6 +111,7 @@ static int try_chown(apr_pool_t *p, serv
     }
     return 0;
 }
+#endif
 
 
 static apr_status_t socache_dbm_init(ap_socache_instance_t *ctx,

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=1208527&r1=1208526&r2=1208527&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_socache_dbm.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_socache_dbm.c Wed Nov 30 17:16:09 2011
@@ -95,6 +95,7 @@ static const char *socache_dbm_create(ap
     return NULL;
 }
 
+#if AP_NEED_SET_MUTEX_PERMS
 static int try_chown(apr_pool_t *p, server_rec *s,
                      const char *name, const char *suffix)
 {
@@ -110,6 +111,7 @@ static int try_chown(apr_pool_t *p, serv
     }
     return 0;
 }
+#endif
 
 
 static apr_status_t socache_dbm_init(ap_socache_instance_t *ctx,



Mime
View raw message