Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
libapr1
apr-1.3.0-testshm-apr_shm_remove.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File apr-1.3.0-testshm-apr_shm_remove.patch of Package libapr1
work around failure in testshm which seems to be logic error in the test program see also here: http://www.mail-archive.com/dev@apr.apache.org/msg20224.html poeml, Sun Jun 15 17:02:32 CEST 2008 Index: apr-1.3.0/test/testshm.c =================================================================== --- apr-1.3.0.orig/test/testshm.c 2007-11-06 04:58:22.000000000 +0100 +++ apr-1.3.0/test/testshm.c 2008-06-15 15:30:24.066001000 +0200 @@ -250,8 +250,9 @@ static void test_named_remove(abts_case APR_ASSERT_SUCCESS(tc, "Error destroying shared memory block", rv); } - rv = apr_shm_destroy(shm); - APR_ASSERT_SUCCESS(tc, "Error destroying shared memory block", rv); + /* this fails, because it _is_ already removed (see above). Skip this step. */ + /* rv = apr_shm_destroy(shm); */ + /* APR_ASSERT_SUCCESS(tc, "Error destroying shared memory block", rv); */ /* Now ensure no named resource remains which we may attach to */ rv = apr_shm_attach(&shm, SHARED_FILENAME, p);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor