diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2003-03-27 18:39:03 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2003-03-27 18:39:03 +0000 |
commit | 166efe36853b74a9a20e61c9b34ebbf8602c3263 (patch) | |
tree | 0f21abed86bf012d3f7755983612021e1d074975 /shmem/win32 | |
parent | 80bfc443b1f428aab992fef3fe4c3cd6ca63ba7e (diff) | |
download | apr-166efe36853b74a9a20e61c9b34ebbf8602c3263.tar.gz |
Comment what res_name_from_filename is doing
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64451 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'shmem/win32')
-rw-r--r-- | shmem/win32/shm.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/shmem/win32/shm.c b/shmem/win32/shm.c index 2f1ea94df..21a1c4389 100644 --- a/shmem/win32/shm.c +++ b/shmem/win32/shm.c @@ -136,6 +136,11 @@ APR_DECLARE(apr_status_t) apr_shm_create(apr_shm_t **m, return rv; } rv = apr_file_trunc(f, size); + + /* res_name_from_filename turns file into a pseudo-name + * without slashes or backslashes, and prepends the \global + * prefix on Win2K and later + */ mapkey = res_name_from_filename(file, 1, pool); } @@ -208,6 +213,10 @@ APR_DECLARE(apr_status_t) apr_shm_attach(apr_shm_t **m, return APR_EINVAL; } else { + /* res_name_from_filename turns file into a pseudo-name + * without slashes or backslashes, and prepends the \global + * prefix on Win2K and later + */ mapkey = res_name_from_filename(file, 1, pool); } |