mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
* 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
This commit is contained in:
parent
db093f2d39
commit
e9db21d9cf
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Fri Jul 11 14:39:49 2008 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
|
* win32/win32.c (CreateChild): the measures for Vista is no longer
|
||||||
|
unnecessary.
|
||||||
|
|
||||||
Fri Jul 11 06:16:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Fri Jul 11 06:16:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* common.mk (process.o): depends on util.h.
|
* common.mk (process.o): depends on util.h.
|
||||||
|
|
|
@ -894,7 +894,7 @@ CreateChild(const char *cmd, const char *prog, SECURITY_ATTRIBUTES *psa,
|
||||||
if (!psa) {
|
if (!psa) {
|
||||||
sa.nLength = sizeof (SECURITY_ATTRIBUTES);
|
sa.nLength = sizeof (SECURITY_ATTRIBUTES);
|
||||||
sa.lpSecurityDescriptor = NULL;
|
sa.lpSecurityDescriptor = NULL;
|
||||||
sa.bInheritHandle = IsWinNT() && rb_w32_osver() > 5 ? FALSE : TRUE;
|
sa.bInheritHandle = TRUE;
|
||||||
psa = &sa;
|
psa = &sa;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue