Jeff Trawick wrote:
> 
> I think I'd rather see it fail.
> 
> If an app wants to back down to the default without informing the user
> that they picked an invalid mechanism then it is just an extra couple
> of lines.
> 
> rv = apr_lock_create(aaa, APR_MUTEX_SYSVSEM, bbb);
> if (APR_STATUS_IS_ENOTIMPL(rv)) {
>     rv = apr_lock_create(aaa, APR_MUTEX_DEFAULT, bbb);
> }
> if (rv != APR_SUCCESS) {
>     /* handle failure to create a lock */
> }
> 

Yeah, that's what I think should happen. If the user picks an
unsupported mutex, Apache should pick the default and pop a
message to error log.
-- 
===========================================================================
   Jim Jagielski   [|]   [EMAIL PROTECTED]   [|]   http://www.jaguNET.com/
                    "It's *good* to be the King."

Reply via email to