Actions
Feature #4512
closed[PATCH] ext/fcntl/fcntl.c: add F_DUPFD_CLOEXEC constant
Feature #4512:
[PATCH] ext/fcntl/fcntl.c: add F_DUPFD_CLOEXEC constant
Description
=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
Files
Actions