From: "nagachika (Tomoyuki Chikanaga)" Date: 2013-10-10T00:55:27+09:00 Subject: [ruby-core:57785] [ruby-trunk - Bug #8769] [PATCH] process.c (rb_fork_internal): remove cloexec setting Issue #8769 has been updated by nagachika (Tomoyuki Chikanaga). Backport changed from 1.9.3: DONTNEED, 2.0.0: REQUIRED to 1.9.3: DONTNEED, 2.0.0: DONE backported to ruby_2_0_0 at r43227. ---------------------------------------- Bug #8769: [PATCH] process.c (rb_fork_internal): remove cloexec setting https://bugs.ruby-lang.org/issues/8769#change-42391 Author: normalperson (Eric Wong) Status: Closed Priority: Low Assignee: nobu (Nobuyoshi Nakada) Category: core Target version: current: 2.1.0 ruby -v: ruby 2.1.0dev (2013-08-10 trunk 42491) [x86_64-linux] Backport: 1.9.3: DONTNEED, 2.0.0: DONE The close-on-exec flag is already set via: pipe_nocrash -> rb_pipe -> rb_cloexec_pipe Calling fcntl here is redundant. -- http://bugs.ruby-lang.org/