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

fix building on NetBSD 6 and use configure to check for non-standard fstype string in statvfs. #54

Closed
wants to merge 6 commits into from

Conversation

niclasr
Copy link
Contributor

@niclasr niclasr commented Aug 23, 2014

Hi, f_fstypename and f_basename are non-standard extentions to struct statvfs. Current configuration breaks on systems that have sys/statvfs.h but does not have these non-standard members (such as freebsd).
This patch uses configure to check for these members and only uses the statvfs code if statvfs has any of them.
The commit also includes a fix for NetBSD. NetBSD versions lower than 6.99 do use BSD-style subsecond timespec.

@wez
Copy link
Contributor

wez commented Nov 1, 2014

Sorry, this fell through the cracks. I have https://reviews.facebook.net/D28167 pending, which has a minor conflict with this change. I also have #56 outstanding that touches this area. I'll revisit this stuff and merge it once the larger changes have landed.

Thanks!

@wez
Copy link
Contributor

wez commented Nov 2, 2014

I squashed this into two commits: 80af743 and c7b72b6
Thanks!

@wez wez closed this Nov 2, 2014
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.

None yet

2 participants