[EMAIL PROTECTED] writes:

>   don't segfault if we don't have/need a lock
>   Index: mod_mem_cache.c

>   -    apr_lock_acquire(sconf->lock);
>   +    /* XXX Need a way to insert into the cache w/o such coarse grained locking */
>   +    if (sconf->lock) {
>   +        apr_lock_acquire(sconf->lock);
>   +    }

it would be kind of cool to have an APR noop lock to avoid this kind
of ugliness; wasted pathlength but prettier :)

-- 
Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Reply via email to