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

Add support for Solaris 10 which lacks strnlen() #719

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

ngoto
Copy link

@ngoto ngoto commented Dec 18, 2024

json parser fails to start on Solaris 10 because Solaris 10 lacks strnlen().

To add support for Solaris 10, added a check for the existence of strnlen() in ext/json/ext/parser/extconf.rb, and added alternative strnlen() implementation to be used if it is missing.

Check for existence of strnlen() and use alternative code if it is missing.
@byroot
Copy link
Member

byroot commented Dec 18, 2024

Thank you. I'll merge on green and cut a 2.9.1 release.

@byroot byroot merged commit 72f43d4 into ruby:master Dec 18, 2024
36 checks passed
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.

2 participants