зеркало из https://github.com/github/ruby.git
process.c: fix typo in non-SIGCHLD waitpid :x
I expect this to fix [Bug #14873] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
c4236d8328
Коммит
54394b3b71
|
@ -1106,7 +1106,7 @@ waitpid_no_SIGCHLD(struct waitpid_state *w)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
do {
|
do {
|
||||||
rb_thread_call_without_gvl(waitpid_blocking_no_SIGCHLD, &w,
|
rb_thread_call_without_gvl(waitpid_blocking_no_SIGCHLD, w,
|
||||||
RUBY_UBF_PROCESS, 0);
|
RUBY_UBF_PROCESS, 0);
|
||||||
} while (w->ret < 0 && errno == EINTR && (RUBY_VM_CHECK_INTS(w->ec),1));
|
} while (w->ret < 0 && errno == EINTR && (RUBY_VM_CHECK_INTS(w->ec),1));
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче