* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@22587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
60e8b398cd
commit
8503451387
@ -1,3 +1,10 @@
|
|||||||
|
Tue Feb 24 10:49:37 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* 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].
|
||||||
|
|
||||||
Tue Feb 24 01:53:40 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Tue Feb 24 01:53:40 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* numeric.c (flo_eq): remove unnecessary NaN check using isnan().
|
* numeric.c (flo_eq): remove unnecessary NaN check using isnan().
|
||||||
|
@ -650,7 +650,7 @@ retry:
|
|||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
result = (rb_pid_t)rb_thread_blocking_region(rb_waitpid_blocking,
|
result = (rb_pid_t)rb_thread_blocking_region(rb_waitpid_blocking,
|
||||||
st, RUBY_UBF_PROCESS);
|
st, RUBY_UBF_PROCESS, 0);
|
||||||
if (result < 0) {
|
if (result < 0) {
|
||||||
if (errno == EINTR) {
|
if (errno == EINTR) {
|
||||||
rb_thread_schedule();
|
rb_thread_schedule();
|
||||||
@ -693,7 +693,7 @@ static int
|
|||||||
waitall_each(rb_pid_t pid, int status, VALUE ary)
|
waitall_each(rb_pid_t pid, int status, VALUE ary)
|
||||||
{
|
{
|
||||||
rb_last_status_set(status, pid);
|
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;
|
return ST_DELETE;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user