diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-24 01:49:39 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-24 01:49:39 +0000 |
commit | 3faabb8ccb31dd6ec43a6cbae0f99466408d20d4 (patch) | |
tree | 4f9eb564a99e689db5f3d10b827445b98eff8c04 /process.c | |
parent | beba5ba4a82255c0a28b3e4a8df56f191537bf79 (diff) | |
download | ruby-3faabb8ccb31dd6ec43a6cbae0f99466408d20d4.tar.gz ruby-3faabb8ccb31dd6ec43a6cbae0f99466408d20d4.tar.xz ruby-3faabb8ccb31dd6ec43a6cbae0f99466408d20d4.zip |
* process.c (rb_waitpid): last argument was missing.
* process.c (waitall_each): fixed typo. a patch from shinichiro.h
<shinichiro.hamaji AT gmail.com> at [ruby-dev:38054].
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |