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

Make initializing libc::flock more portable #87

Merged
merged 1 commit into from
Nov 1, 2021
Merged

Conversation

pkolaczk
Copy link
Owner

Different Unixes seem to have flock differing by
the set of fields. We don't need those fields in this case,
so we just initialize them to zero.

Fixes #85

Different Unixes seem to have flock differing by
the set of fields. We don't need those fields in this case,
so we just initialize them to zero.

Fixes #85
@pkolaczk
Copy link
Owner Author

pkolaczk commented Nov 1, 2021

Works for me on a VM (was painfully slow to compile though):
obraz

@pkolaczk pkolaczk merged commit b7a5275 into master Nov 1, 2021
@pkolaczk pkolaczk deleted the fix_flock_freebsd branch November 1, 2021 16:58
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.

Can't compile on FreeBSD
1 participant