From 5e3081b928ba5bc3ebb741549980311abfbbe15d Mon Sep 17 00:00:00 2001 From: usa Date: Fri, 11 Jul 2008 05:43:03 +0000 Subject: * 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 --- ChangeLog | 5 +++++ win32/win32.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b7582c9cb..888731840 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Jul 11 14:39:49 2008 NAKAMURA Usaku + + * win32/win32.c (CreateChild): the measures for Vista is no longer + unnecessary. + Fri Jul 11 06:16:26 2008 Nobuyoshi Nakada * common.mk (process.o): depends on util.h. 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; } -- cgit