mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* win32/win32.c (rb_w32_spawn): no longer support P_WAIT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8724448ed5
commit
5f2183f6b3
2 changed files with 4 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
|||
Sat Jun 21 17:33:50 2008 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* win32/win32.c (rb_w32_spawn): no longer support P_WAIT.
|
||||
|
||||
Sat Jun 21 16:46:09 2008 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* thread_win32.c (native_sleep): must block reentrance when accessing
|
||||
|
|
|
@ -819,7 +819,6 @@ rb_w32_spawn(int mode, const char *cmd, const char *prog)
|
|||
DWORD exitcode;
|
||||
|
||||
switch (mode) {
|
||||
case P_WAIT:
|
||||
case P_NOWAIT:
|
||||
case P_OVERLAY:
|
||||
break;
|
||||
|
@ -834,9 +833,6 @@ rb_w32_spawn(int mode, const char *cmd, const char *prog)
|
|||
}
|
||||
|
||||
switch (mode) {
|
||||
case P_WAIT:
|
||||
rb_syswait(child->pid);
|
||||
return NUM2INT(rb_last_status_get());
|
||||
case P_NOWAIT:
|
||||
return child->pid;
|
||||
case P_OVERLAY:
|
||||
|
|
Loading…
Reference in a new issue