You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by st...@hyperreal.org on 1999/10/08 19:13:12 UTC
cvs commit: apache-2.0/src/lib/apr/locks/win32 locks.c
stoddard 99/10/08 10:13:12
Modified: src/lib/apr/locks/win32 locks.c
Log:
Fix problem leftover from when the lock_scope arg was added to create_lock
Revision Changes Path
1.5 +1 -1 apache-2.0/src/lib/apr/locks/win32/locks.c
Index: locks.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/locks/win32/locks.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- locks.c 1999/10/05 01:07:55 1.4
+++ locks.c 1999/10/08 17:13:09 1.5
@@ -87,7 +87,7 @@
sec.bInheritHandle = FALSE;
}
- if (type == APR_INTRAPROCESS) {
+ if (scope == APR_INTRAPROCESS) {
InitializeCriticalSection(&newlock->section);
} else {
newlock->mutex = CreateMutex(&sec, FALSE, fname);