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 f_type field to struct statvfs #72

Merged
merged 1 commit into from
Sep 29, 2024

Conversation

tatokis
Copy link
Contributor

@tatokis tatokis commented Sep 27, 2024

It's been added in both glibc and musl. Glibc has been zeroing out the spare ints since the dawn of time and musl since at least 1.0.0, so it's safe to simply check if these values are nonzero.

bminor/glibc@92861d9

bminor/musl@7291c6c

It's been added in both glibc and musl. Glibc has been zeroing out the
spare ints since the dawn of time and musl since at least 1.0.0, so
it's safe to simply check if these values are nonzero.
@djberg96
Copy link
Owner

djberg96 commented Sep 29, 2024

Thanks for this. I'm not sure what's going on with the test failures on Windows.

Edit: Needed to update mkmf-lite for JRuby, now it works.

Copy link
Owner

@djberg96 djberg96 left a comment

Choose a reason for hiding this comment

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

LGTM. Passes all existing specs on all platforms.

@djberg96 djberg96 merged commit cab3a4b into djberg96:main Sep 29, 2024
20 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