Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ruby2: fix fds. #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

ruby2: fix fds. #5

wants to merge 1 commit into from

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 [email protected]

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 <[email protected]>
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