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

Replace deprecated getdtablesize with sysconf #192

Open
Kjarrigan opened this issue Apr 26, 2021 · 1 comment
Open

Replace deprecated getdtablesize with sysconf #192

Kjarrigan opened this issue Apr 26, 2021 · 1 comment

Comments

@Kjarrigan
Copy link
Member

#166 (comment)

@tevio wrote:
As per the linux foundation deprecation note here:-
http://refspecs.linux-foundation.org/LSB_4.0.0/LSB-Core-generic/LSB-Core-generic/baselib-getdtablesize.html

This change keeps the gem up to date as this function is removed from various platforms and allows it to run on aarch32/64.

The MR will be reverted soon as the side effects were too much for a lot of ethon/typhoeus users.

So creating this issue so one might find a different solution to the problem.

@thatsmydoing
Copy link

Since ruby 2.2.0, there's Etc.sysconf

The ffi gem already needs ruby 2.3.0 so it shouldn't be a problem.

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

No branches or pull requests

2 participants