
trawick at apache
Aug 8, 2012, 6:45 AM
Post #1 of 1
(21 views)
Permalink
|
|
svn commit: r1370763 - /httpd/httpd/trunk/modules/slotmem/mod_slotmem_plain.c
|
|
Author: trawick Date: Wed Aug 8 13:45:57 2012 New Revision: 1370763 URL: http://svn.apache.org/viewvc?rev=1370763&view=rev Log: mod_slotmem_plain: make the "filename" key relative to DefaultRuntimeDir if not absolute mod_slotmem_plain does not externalize or check the full path in any way, so this change is just for consistency with other modules which build paths to run-time artifacts. Modified: httpd/httpd/trunk/modules/slotmem/mod_slotmem_plain.c Modified: httpd/httpd/trunk/modules/slotmem/mod_slotmem_plain.c URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/slotmem/mod_slotmem_plain.c?rev=1370763&r1=1370762&r2=1370763&view=diff ============================================================================== --- httpd/httpd/trunk/modules/slotmem/mod_slotmem_plain.c (original) +++ httpd/httpd/trunk/modules/slotmem/mod_slotmem_plain.c Wed Aug 8 13:45:57 2012 @@ -75,7 +75,7 @@ static apr_status_t slotmem_create(ap_sl if (name[0] == ':') fname = name; else - fname = ap_server_root_relative(pool, name); + fname = ap_runtime_dir_relative(pool, name); /* first try to attach to existing slotmem */ if (next) { @@ -126,7 +126,7 @@ static apr_status_t slotmem_attach(ap_sl if (name[0] == ':') fname = name; else - fname = ap_server_root_relative(pool, name); + fname = ap_runtime_dir_relative(pool, name); } else return APR_ENOSHMAVAIL;
|