From: nobu.nakada@... Date: 2001-11-13T17:06:07+09:00 Subject: [ruby-dev:15149] Re: rb_eval_string なかだです。 At Tue, 13 Nov 2001 16:34:26 +0900, U.Nakamura wrote: > CreateProcess関連は、もうちょっと待ち。 waitpid()で、WaitForMultipleEvents()のところはcount+1を渡さない とSIGINTを受け付けないような気がします。 @@ -2321,5 +2321,5 @@ waitpid (pid_t pid, int *stat_loc, int o events[count] = interrupted_event; - ret = WaitForMultipleEvents(count, events, FALSE, timeout, TRUE); + ret = WaitForMultipleEvents(count+1, events, FALSE, timeout, TRUE); if (ret == WAIT_TIMEOUT) return 0; if ((ret -= WAIT_OBJECT_0) == count) { それとwait_child()のtimeoutってまったく使われてないので不要なの では。あまりwaitって感じではなくなりますが。 -- --- 僕の前にBugはない。 --- 僕の後ろにBugはできる。 中田 伸悦