You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2007/08/26 23:42:10 UTC

svn commit: r569890 - /apr/apr/trunk/threadproc/win32/proc.c

Author: wrowe
Date: Sun Aug 26 14:42:09 2007
New Revision: 569890

URL: http://svn.apache.org/viewvc?rev=569890&view=rev
Log:
Correct r569882 typo; we must leave what we enter.

Modified:
    apr/apr/trunk/threadproc/win32/proc.c

Modified: apr/apr/trunk/threadproc/win32/proc.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/threadproc/win32/proc.c?rev=569890&r1=569889&r2=569890&view=diff
==============================================================================
--- apr/apr/trunk/threadproc/win32/proc.c (original)
+++ apr/apr/trunk/threadproc/win32/proc.c Sun Aug 26 14:42:09 2007
@@ -767,7 +767,7 @@
         /* LOCK CRITICAL SECTION 
          * before we begin to manipulate the inherited handles
          */
-        EnterCriticalSection(&proc_lock);
+        LeaveCriticalSection(&proc_lock);
 
         if ((attr->child_in && attr->child_in->filehand)
             || (attr->child_out && attr->child_out->filehand)