From: Eric Wong Date: 2011-07-01T16:33:05+09:00 Subject: [ruby-core:37713] [Ruby 1.9 - Feature #4512] [PATCH] ext/fcntl/fcntl.c: add F_DUPFD_CLOEXEC constant Issue #4512 has been updated by Eric Wong. File 0001-ext-fcntl-fcntl.c-add-F_DUPFD_CLOEXEC-constant.patch added Also pushed to "fcntl-dupfd-cloexec" branch of git://bogomips.org/ruby.git http://bogomips.org/ruby.git/log/?h=fcntl-dupfd-cloexec ---------------------------------------- Feature #4512: [PATCH] ext/fcntl/fcntl.c: add F_DUPFD_CLOEXEC constant http://redmine.ruby-lang.org/issues/4512 Author: Eric Wong Status: Feedback Priority: Normal Assignee: Motohiro KOSAKI Category: ext Target version: 1.9.x =begin 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. =end -- http://redmine.ruby-lang.org