aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-17 08:31:41 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-17 08:31:41 +0000
commit62617789ed43d4d584dc38bdfb80f3cc1cade7d8 (patch)
tree7d45ca83b28037a7bc71494753fc61dcf5d31ee2
parent124aab6ad4b33ac3871d25865fd82fdf30617dbc (diff)
downloadruby-62617789ed43d4d584dc38bdfb80f3cc1cade7d8.tar.gz
* win32/win32.c (CreateChild): no need to inherit handles here because
spawn'ed child cannot detect that STDIN is closed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--win32/win32.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 168a10014f..46ae8cab20 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Jun 17 17:07:35 2008 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * 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@ruby-lang.org>
* dir.c (dir_data): add intenc and extenc.
diff --git a/win32/win32.c b/win32/win32.c
index b15f050ff9..b62adad774 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -878,7 +878,7 @@ CreateChild(const char *cmd, const char *prog, SECURITY_ATTRIBUTES *psa,
if (!psa) {
sa.nLength = sizeof (SECURITY_ATTRIBUTES);
sa.lpSecurityDescriptor = NULL;
- sa.bInheritHandle = TRUE;
+ sa.bInheritHandle = FALSE;
psa = &sa;
}