diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-11 05:43:03 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-11 05:43:03 +0000 |
commit | 5e3081b928ba5bc3ebb741549980311abfbbe15d (patch) | |
tree | 572766729cf7c56b6b5356f2020b018990330bd9 /win32 | |
parent | 74fa705c0b68e87a80c179ca4f8e9b48601158c9 (diff) | |
download | ruby-5e3081b928ba5bc3ebb741549980311abfbbe15d.tar.gz ruby-5e3081b928ba5bc3ebb741549980311abfbbe15d.tar.xz ruby-5e3081b928ba5bc3ebb741549980311abfbbe15d.zip |
* win32/win32.c (CreateChild): the measures for Vista is no longer
unnecessary.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r-- | win32/win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c index c4521b0e1..f49174de5 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; } |