From ddf06604b5490a051da96e890871e3ed26c8277d Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Sun, 27 Mar 2011 23:51:18 +0000 Subject: enable DEFAULT_REL_RUNTIMEDIR on NetWare and Windows this commit is missing the Windows and NetWare build logic to copy the appropriate file to include/ap_config_layout.h git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086073 13f79535-47bb-0310-9956-ffa450edef68 --- modules/cache/mod_socache_dbm.c | 5 ----- modules/cache/mod_socache_shmcb.c | 5 ----- 2 files changed, 10 deletions(-) (limited to 'modules/cache') diff --git a/modules/cache/mod_socache_dbm.c b/modules/cache/mod_socache_dbm.c index fabf778212..2fca723a3a 100644 --- a/modules/cache/mod_socache_dbm.c +++ b/modules/cache/mod_socache_dbm.c @@ -53,12 +53,7 @@ struct ap_socache_instance_t { */ #define DBM_FILE_MODE ( APR_UREAD | APR_UWRITE | APR_GREAD | APR_WREAD ) -/* Check for definition of DEFAULT_REL_RUNTIMEDIR */ -#ifndef DEFAULT_REL_RUNTIMEDIR -#define DEFAULT_DBM_PREFIX "logs/socache-dbm-" -#else #define DEFAULT_DBM_PREFIX DEFAULT_REL_RUNTIMEDIR "/socache-dbm-" -#endif /* ### this should use apr_dbm_usednames. */ #if !defined(DBM_FILE_SUFFIX_DIR) && !defined(DBM_FILE_SUFFIX_PAG) diff --git a/modules/cache/mod_socache_shmcb.c b/modules/cache/mod_socache_shmcb.c index da7e1903b8..ddc6d147d9 100644 --- a/modules/cache/mod_socache_shmcb.c +++ b/modules/cache/mod_socache_shmcb.c @@ -32,12 +32,7 @@ #define SHMCB_MAX_SIZE (64 * 1024 * 1024) -/* Check for definition of DEFAULT_REL_RUNTIMEDIR */ -#ifndef DEFAULT_REL_RUNTIMEDIR -#define DEFAULT_SHMCB_PREFIX "logs/socache-shmcb-" -#else #define DEFAULT_SHMCB_PREFIX DEFAULT_REL_RUNTIMEDIR "/socache-shmcb-" -#endif #define DEFAULT_SHMCB_SUFFIX ".cache" -- cgit v1.2.3