RE: [PATCH] svn_dso_initialize can *silently* fail to create lock
From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: Sat, 2 Aug 2008 00:27:19 +0530
Thanks Stefan for the review, committed at r32353.
>Looks good to me.
>A curiosity: The return value of apr_thread_mutex_create is
>Have you seen crashes because of this
I did see the crash with apr-0.9.x(I think 0.9.12)
In my local box(apr-1.2.12) I could see 'apr_thread_mutex_create' handling error properly.
if (rv) {
>I would suggest using
> SVN_ERR_ASSERT(status == APR_SUCCESS);
It will give a compiler warning as the caller here is a void function and SVN_ERR_ASSERT would evaluate to 'return svn_error_t *'.
With regards
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.