jorton 2003/07/02 12:44:38
Modified: test testprocmutex.c
Log:
Pass NULL to apr_proc_mutex_create rather than the invented filename
as per the old code.
Revision Changes Path
1.15 +1 -2 apr/test/testprocmutex.c
Index: testprocmutex.c
===================================================================
RCS file: /home/cvs/apr/test/testprocmutex.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -u -r1.14 -r1.15
--- testprocmutex.c 2 Jul 2003 12:15:04 -0000 1.14
+++ testprocmutex.c 2 Jul 2003 19:44:38 -0000 1.15
@@ -134,7 +134,6 @@
{
#if APR_HAS_FORK
apr_status_t rv;
- const char *lockname = "tpm.lock";
const char *shmname = "tpm.shm";
apr_shm_t *shm;
@@ -148,7 +147,7 @@
apr_assert_success(tc, "create shm segment", rv);
x = apr_shm_baseaddr_get(shm);
- test_exclusive(tc, lockname);
+ test_exclusive(tc, NULL);
#else
CuNotImpl(tc, "APR lacks fork() support");
#endif