ruby-changes:5869
From: usa <ko1@a...>
Date: Tue, 17 Jun 2008 17:32:01 +0900 (JST)
Subject: [ruby-changes:5869] Ruby:r17376 (trunk): * win32/win32.c (CreateChild): no need to inherit handles here because
usa 2008-06-17 17:31:41 +0900 (Tue, 17 Jun 2008)
New Revision: 17376
Modified files:
trunk/ChangeLog
trunk/win32/win32.c
Log:
* win32/win32.c (CreateChild): no need to inherit handles here because
spawn'ed child cannot detect that STDIN is closed.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/win32/win32.c?r1=17376&r2=17375&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=17376&r2=17375&diff_format=u
Index: ChangeLog
===================================================================
--- ChangeLog (revision 17375)
+++ ChangeLog (revision 17376)
@@ -1,3 +1,8 @@
+Tue Jun 17 17:07:35 2008 NAKAMURA Usaku <usa@r...>
+
+ * win32/win32.c (CreateChild): no need to inherit handles here because
+ spawn'ed child cannot detect that STDIN is closed.
+
Tue Jun 17 06:32:55 2008 NARUSE, Yui <naruse@r...>
* dir.c (dir_data): add intenc and extenc.
Index: win32/win32.c
===================================================================
--- win32/win32.c (revision 17375)
+++ win32/win32.c (revision 17376)
@@ -878,7 +878,7 @@
if (!psa) {
sa.nLength = sizeof (SECURITY_ATTRIBUTES);
sa.lpSecurityDescriptor = NULL;
- sa.bInheritHandle = TRUE;
+ sa.bInheritHandle = FALSE;
psa = &sa;
}
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/