зеркало из https://github.com/github/ruby.git
* process.c (READ_FROM_CHILD): Apply the last hunk of
0001-process.c-avoid-EINTR-from-Process.spawn.patch written by Eric Wong in [Bug #8770]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
f423a63cfa
Коммит
fbf4850cab
|
@ -1,3 +1,9 @@
|
||||||
|
Tue Jan 28 20:51:07 2014 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
|
* process.c (READ_FROM_CHILD): Apply the last hunk of
|
||||||
|
0001-process.c-avoid-EINTR-from-Process.spawn.patch written by
|
||||||
|
Eric Wong in [Bug #8770].
|
||||||
|
|
||||||
Tue Jan 28 16:33:18 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Tue Jan 28 16:33:18 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* thread_pthread.c (ruby_init_stack, ruby_stack_overflowed_p):
|
* thread_pthread.c (ruby_init_stack, ruby_stack_overflowed_p):
|
||||||
|
|
|
@ -3362,7 +3362,7 @@ recv_child_error(int fd, int *statep, VALUE *excp, int *errp, char *errmsg, size
|
||||||
*excp = exc;
|
*excp = exc;
|
||||||
}
|
}
|
||||||
#define READ_FROM_CHILD(ptr, len) \
|
#define READ_FROM_CHILD(ptr, len) \
|
||||||
(NIL_P(io) ? read(fd, (ptr), (len)) : rb_io_bufread(io, (ptr), (len)))
|
(NIL_P(io) ? read_retry(fd, (ptr), (len)) : rb_io_bufread(io, (ptr), (len)))
|
||||||
if ((size = READ_FROM_CHILD(&err, sizeof(err))) < 0) {
|
if ((size = READ_FROM_CHILD(&err, sizeof(err))) < 0) {
|
||||||
err = errno;
|
err = errno;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче