From: Eric Wong Date: 2011-03-20T13:00:38+09:00 Subject: [ruby-core:35528] [Ruby 1.9 - Feature #4512][Open] [PATCH] ext/fcntl/fcntl.c: add F_DUPFD_CLOEXEC constant Issue #4512 has been reported by Eric Wong. ---------------------------------------- Feature #4512: [PATCH] ext/fcntl/fcntl.c: add F_DUPFD_CLOEXEC constant http://redmine.ruby-lang.org/issues/4512 Author: Eric Wong Status: Open Priority: Normal Assignee: Category: ext Target version: 1.9.3 It's in POSIX.1-2008 and will be useful when Ruby becomes more multi-threaded. related: http://redmine.ruby-lang.org/issues/1291 If/when 1291 goes through I'd also like IO#dup to work with the dup3() system call, but this patch is much less intrusive. -- http://redmine.ruby-lang.org