Implement an fdatasync alternative on OS X
Open
os: OSX
type: enhancement
- Dominant language
- Haskell
- Stars
- 124
- Forks
- 99
- PR merge metrics
- No merged PRs in 30d
Description
`fdatasync()` is not supported (as such) on OS X. An alternative using `fcntl()` is detailed in [a picoc issue](https://code.google.com/p/picoc/issues/detail?id=145).
We should provide the `fcntl()`-based alternative on OS X (and presumably iOS).
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the existing fdatasync implementation and its platform-specific conditionals in the unix package. Read the linked picoc issue for the fcntl()-based approach, then verify the change covers OS X and, if supported by the project, iOS; done means the alternative is provided on those platforms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100