From 3faabb8ccb31dd6ec43a6cbae0f99466408d20d4 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 24 Feb 2009 01:49:39 +0000 Subject: * process.c (rb_waitpid): last argument was missing. * process.c (waitall_each): fixed typo. a patch from shinichiro.h at [ruby-dev:38054]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'process.c') diff --git a/process.c b/process.c index 1e61cb5c2..ae780debf 100644 --- a/process.c +++ b/process.c @@ -650,7 +650,7 @@ retry: for (;;) { result = (rb_pid_t)rb_thread_blocking_region(rb_waitpid_blocking, - st, RUBY_UBF_PROCESS); + st, RUBY_UBF_PROCESS, 0); if (result < 0) { if (errno == EINTR) { rb_thread_schedule(); @@ -693,7 +693,7 @@ static int waitall_each(rb_pid_t pid, int status, VALUE ary) { rb_last_status_set(status, pid); - rb_ary_push(ary, rb_assoc_new(PIDT2NUM(pid), rb_last_status_get()); + rb_ary_push(ary, rb_assoc_new(PIDT2NUM(pid), rb_last_status_get())); return ST_DELETE; } #endif -- cgit