Change 27528 by [EMAIL PROTECTED] on 2006/03/17 04:29:30
Subject: [PATCH] win32_pclose() error exit doesn't unlock mutex
From: Jan Dubois <[EMAIL PROTECTED]>
Date: Thu, 16 Mar 2006 16:30:23 -0800
Message-ID: <[EMAIL PROTECTED]>
Affected files ...
... //depot/perl/win32/win32.c#257 edit
... //depot/perl/wince/wince.c#23 edit
Differences ...
==== //depot/perl/win32/win32.c#257 (text) ====
Index: perl/win32/win32.c
--- perl/win32/win32.c#256~27527~ 2006-03-16 20:19:01.000000000 -0800
+++ perl/win32/win32.c 2006-03-16 20:29:30.000000000 -0800
@@ -2818,6 +2818,7 @@
childpid = 0;
if (!childpid) {
+ UNLOCK_FDPID_MUTEX;
errno = EBADF;
return -1;
}
==== //depot/perl/wince/wince.c#23 (text) ====
Index: perl/wince/wince.c
--- perl/wince/wince.c#22~26694~ 2006-01-06 19:13:05.000000000 -0800
+++ perl/wince/wince.c 2006-03-16 20:29:30.000000000 -0800
@@ -2886,6 +2886,7 @@
childpid = 0;
if (!childpid) {
+ UNLOCK_FDPID_MUTEX;
errno = EBADF;
return -1;
}
End of Patch.