aaron 02/01/31 17:18:53 Modified: test testprocmutex.c Log: Bring this up to date with the new shared memory API. This should get us compiling again (and the test seems to work, too). Revision Changes Path 1.8 +2 -2 apr/test/testprocmutex.c Index: testprocmutex.c =================================================================== RCS file: /home/cvs/apr/test/testprocmutex.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- testprocmutex.c 1 Feb 2002 01:15:01 -0000 1.7 +++ testprocmutex.c 1 Feb 2002 01:18:53 -0000 1.8 @@ -179,8 +179,8 @@ exit(-1); } - apr_shm_init(&shm, sizeof(int), shmname, pool); - x = apr_shm_calloc(shm, sizeof(int)); + apr_shm_create(&shm, sizeof(int), shmname, pool); + x = apr_shm_baseaddr_get(shm); if ((rv = test_exclusive(lockname)) != APR_SUCCESS) { fprintf(stderr,"Exclusive Lock test failed : [%d] %s\n",