summaryrefslogtreecommitdiff
path: root/win32/win32.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-11 05:43:03 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-11 05:43:03 +0000
commite9db21d9cf4067ec8c0da8d4a32e675b166f37d8 (patch)
tree572766729cf7c56b6b5356f2020b018990330bd9 /win32/win32.c
parentdb093f2d39553fcb8bea0f3feeeff3054169bb14 (diff)
* win32/win32.c (CreateChild): the measures for Vista is no longer
unnecessary. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/win32.c')
-rw-r--r--win32/win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c
index c4521b0e16..f49174de58 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -894,7 +894,7 @@ CreateChild(const char *cmd, const char *prog, SECURITY_ATTRIBUTES *psa,
if (!psa) {
sa.nLength = sizeof (SECURITY_ATTRIBUTES);
sa.lpSecurityDescriptor = NULL;
- sa.bInheritHandle = IsWinNT() && rb_w32_osver() > 5 ? FALSE : TRUE;
+ sa.bInheritHandle = TRUE;
psa = &sa;
}