Skip to content

Conversation

boggle
Copy link
Contributor

@boggle boggle commented Dec 2, 2011

Adds fsync and fflush calls to io.

  • fsync tries to do something reasonable on mac, linux depending on fsync::level
  • on win32, it just calls fsync (dont know what to do there)
  • needs testing

@brson
Copy link
Contributor

brson commented Dec 2, 2011

This looks good to me. If you don't mind I will squash these down to a single commit. Waiting for the try build to finish now.

@boggle
Copy link
Contributor Author

boggle commented Dec 2, 2011

Sure, that's ok.

@brson
Copy link
Contributor

brson commented Dec 2, 2011

No fsync on windows. I just replaced it with fail and opened #1253. Thanks!

@brson brson closed this Dec 2, 2011
JohnTitor pushed a commit to JohnTitor/rust that referenced this pull request Jul 26, 2022
coastalwhite pushed a commit to coastalwhite/rust that referenced this pull request Aug 5, 2023
celinval pushed a commit to celinval/rust-dev that referenced this pull request Jun 4, 2024
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