0001-process.c-rb_fork_internal-remove-cloexec-setting.patch

Eric Wong, 08/11/2013 05:49 AM

Download (917 Bytes)

View differences:

process.c
3369 3369
    }
3370 3370
    else {
3371 3371
	if (pipe_nocrash(ep, fds)) return -1;
3372
	if (fcntl(ep[1], F_SETFD, FD_CLOEXEC)) {
3373
	    preserving_errno((close(ep[0]), close(ep[1])));
3374
	    return -1;
3375
	}
3376 3372
        pid = retry_fork(status, ep, chfunc_is_async_signal_safe);
3377 3373
        if (pid < 0)
3378 3374
            return pid;
3379
-