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

Use default IO#timeout if possible. #547

Merged
merged 1 commit into from
Oct 7, 2022
Merged

Use default IO#timeout if possible. #547

merged 1 commit into from
Oct 7, 2022

Conversation

ioquatix
Copy link
Member

@ioquatix ioquatix commented Oct 7, 2022

No description provided.

@@ -1701,11 +1701,15 @@ no_exception_p(VALUE opts)
return 0;
}

#ifndef RB_IO_TIMEOUT_DEFAULT
#define RB_IO_TIMEOUT_DEFAULT Qnil
#endif
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this should be RUBY_, not RB_? ruby/ruby@a081fe7

I think a comment would be helpful too, so we can remove this ifdef when we drop support for Ruby <= 3.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants