Author: stefan2
Date: Sun Apr 3 17:21:52 2011
New Revision: 1088341
URL: http://svn.apache.org/viewvc?rev=1088341&view=rev
Log:
Fix the releasing of an already released mutex that caused test_cache to lock
up when
attempting to the aquire the mutex a second time.
* subversion/libsvn_subr/cache-inprocess.c
(inprocess_cache_get): remove second unlock of cache
Patch by: Alan Wood <Alan.Wood{_AT_}clear.net.nz>
Modified:
subversion/trunk/subversion/libsvn_subr/cache-inprocess.c
Modified: subversion/trunk/subversion/libsvn_subr/cache-inprocess.c
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/cache-inprocess.c?rev=1088341&r1=1088340&r2=1088341&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/cache-inprocess.c (original)
+++ subversion/trunk/subversion/libsvn_subr/cache-inprocess.c Sun Apr 3
17:21:52 2011
@@ -248,7 +248,7 @@ inprocess_cache_get(void **value_p,
else
*value_p = NULL;
- return unlock_cache(cache, err);
+ return err;
}
/* Removes PAGE from the LRU list, removes all of its entries from