Project

General

Profile

Bug #8769 ยป 0001-process.c-rb_fork_internal-remove-cloexec-setting.patch

normalperson (Eric Wong), 08/11/2013 05:49 AM

View differences:

process.c
}
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;
    (1-1/1)