diff options
author | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2003-07-02 19:44:38 +0000 |
---|---|---|
committer | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2003-07-02 19:44:38 +0000 |
commit | 09f3ad4031a15fcecffff53189eb4f555f667e66 (patch) | |
tree | 5a42a3dcff4884cc7f6e7487e0e8e5bef65c6204 /test | |
parent | 8739982fd09061522fa6db05963d3152e7153611 (diff) | |
download | libapr-09f3ad4031a15fcecffff53189eb4f555f667e66.tar.gz |
Pass NULL to apr_proc_mutex_create rather than the invented filename
as per the old code.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64557 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r-- | test/testprocmutex.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/testprocmutex.c b/test/testprocmutex.c index a29b0504b..ef1a3fcb1 100644 --- a/test/testprocmutex.c +++ b/test/testprocmutex.c @@ -134,7 +134,6 @@ static void proc_mutex(CuTest *tc) { #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 @@ static void proc_mutex(CuTest *tc) 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 |