wrowe 2003/03/27 10:39:03
Modified: shmem/win32 shm.c
Log:
Comment what res_name_from_filename is doing
Revision Changes Path
1.16 +9 -0 apr/shmem/win32/shm.c
Index: shm.c
===================================================================
RCS file: /home/cvs/apr/shmem/win32/shm.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- shm.c 7 Jan 2003 00:52:56 -0000 1.15
+++ shm.c 27 Mar 2003 18:39:03 -0000 1.16
@@ -136,6 +136,11 @@
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 @@
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);
}