summaryrefslogtreecommitdiffstats
path: root/modules/cache
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2011-03-28 01:51:18 +0200
committerJeff Trawick <trawick@apache.org>2011-03-28 01:51:18 +0200
commitddf06604b5490a051da96e890871e3ed26c8277d (patch)
tree86bae7f46b13750aa6204e6596dfc2f02150b894 /modules/cache
parentfix doxygen warnings (diff)
downloadapache2-ddf06604b5490a051da96e890871e3ed26c8277d.tar.xz
apache2-ddf06604b5490a051da96e890871e3ed26c8277d.zip
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
Diffstat (limited to 'modules/cache')
-rw-r--r--modules/cache/mod_socache_dbm.c5
-rw-r--r--modules/cache/mod_socache_shmcb.c5
2 files changed, 0 insertions, 10 deletions
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"