* 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
This commit is contained in:
usa 2008-06-17 08:31:41 +00:00
Родитель 124aab6ad4
Коммит 62617789ed
2 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -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.

Просмотреть файл

@ -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;
}