Skip to content

ruby2: fix fds.#5

Open
robbat2 wants to merge 1 commit intoformorer:masterfrom
robbat2:fix_ruby2_fds
Open

ruby2: fix fds.#5
robbat2 wants to merge 1 commit intoformorer:masterfrom
robbat2:fix_ruby2_fds

Conversation

@robbat2
Copy link
Contributor

@robbat2 robbat2 commented Jan 10, 2015

One of the Ruby 1.9->Ruby 2 upstream changes was that the handling of
file descriptors on exec calls had two changes in defaults:

Fixes #3

Signed-off-by: Robin H. Johnson robbat2@gentoo.org

One of the Ruby 1.9->Ruby 2 upstream changes was that the handling of
file descriptors on exec calls had two changes in defaults:

- All non-primary FDs are closed by default
- All FDs have CLOEXEC/close_on_exec set:
  http://ruby-doc.org/core-2.2.0/IO.html#method-i-close_on_exec-3D

Fixes formorer#3

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

doesn't work with ruby 2.0

1 participant