Hi,
This is a simple bug, but it would cause a crash.
Please commit it.
Thanks.
=======
- INOUE Seiichiro <[EMAIL PROTECTED]>
http://www.ariel-networks.com
Index: locks/win32/thread_rwlock.c
===================================================================
RCS file: /home/cvspublic/apr/locks/win32/thread_rwlock.c,v
retrieving revision 1.4
diff -u -r1.4 thread_rwlock.c
--- locks/win32/thread_rwlock.c 29 Sep 2001 05:04:44 -0000 1.4
+++ locks/win32/thread_rwlock.c 12 Mar 2002 14:08:13 -0000
@@ -72,6 +72,7 @@
apr_pool_t *pool)
{
(*rwlock) = apr_palloc(pool, sizeof(**rwlock));
+ (*rwlock)->pool = pool;
(*rwlock)->readevent=CreateEvent(NULL,TRUE,FALSE,NULL);
(*rwlock)->mutex = CreateEvent(NULL,FALSE,TRUE,NULL);
(*rwlock)->writemutex = CreateMutex(NULL,FALSE,NULL);