зеркало из https://github.com/github/ruby.git
process.c: remove cloexec setting
* process.c (rb_fork_internal): remove cloexec setting on pipes created by rb_cloexec_pipe. patch by normalperson (Eric Wong) at [ruby-core:56523]. [Bug #8769] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
42cc596402
Коммит
ddef263a89
|
@ -1,3 +1,9 @@
|
|||
Sat Sep 21 20:11:06 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* process.c (rb_fork_internal): remove cloexec setting on pipes
|
||||
created by rb_cloexec_pipe. patch by normalperson (Eric Wong) at
|
||||
[ruby-core:56523]. [Bug #8769]
|
||||
|
||||
Sat Sep 21 01:04:25 2013 Zachary Scott <e@zzak.io>
|
||||
|
||||
* lib/benchmark.rb: [DOC] grammar of Benchmark#bm [Bug #8888]
|
||||
|
|
|
@ -3389,10 +3389,6 @@ rb_fork_internal(int *status, int (*chfunc)(void*, char *, size_t), void *charg,
|
|||
}
|
||||
else {
|
||||
if (pipe_nocrash(ep, fds)) return -1;
|
||||
if (fcntl(ep[1], F_SETFD, FD_CLOEXEC)) {
|
||||
preserving_errno((close(ep[0]), close(ep[1])));
|
||||
return -1;
|
||||
}
|
||||
pid = retry_fork(status, ep, chfunc_is_async_signal_safe);
|
||||
if (pid < 0)
|
||||
return pid;
|
||||
|
|
Загрузка…
Ссылка в новой задаче