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 fdatasync for missing platforms #1581

Merged
merged 1 commit into from
Dec 22, 2021
Merged

Conversation

rtzoeller
Copy link
Collaborator

These platforms stub out fdatasync() by just calling fsync(), but that is a conforming implementation.

DragonFly recently provided an implementation, but it has not made it into a release or rust-lang/libc.

@rtzoeller
Copy link
Collaborator Author

IOU a changelog note, once the changelog has been updated for the next minor release (assuming the current changelog section is for a patch release).

@asomers
Copy link
Member

asomers commented Oct 23, 2021

Yep yep yep. BTW, FreeBSD has had an fdatasync since 11.1, but it's equivalent to fsync on ZFS, which is the only file system many users care about.

@asomers asomers added this to the 0.24.0 milestone Dec 15, 2021
@asomers
Copy link
Member

asomers commented Dec 21, 2021

@rtzoeller time for a rebase and CHANGELOG notice?

@rtzoeller
Copy link
Collaborator Author

bors r+

@bors
Copy link
Contributor

bors bot commented Dec 22, 2021

Merge conflict.

@rtzoeller
Copy link
Collaborator Author

bors retry

@bors bors bot merged commit e2298bb into nix-rust:master Dec 22, 2021
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