Actions
Bug #5837
closedIO#fsync documentation typo quickfix
ruby -v:
1.9.3
Backport:
Description
The documentation IO#fsync says:
"Immediately writes all buffered data in ios to disk. Note that fsync differs from using IO#sync=. The latter ensures that data is flushed from Ruby’s buffers, but doesn’t not guarantee that the underlying operating system actually writes it to disk."
I believe the "doesn't not" should be changed to "does not". Fsync(2) traditionally guarantees that the operating system writes to disk, so I'm assuming that IO#sync does not and that IO#fsync does.
There is probably a better description that could be written here, but this clears up the typo for the interim.
Updated by tenderlovemaking (Aaron Patterson) over 12 years ago
- Assignee changed from tenderlovemaking (Aaron Patterson) to drbrain (Eric Hodel)
Updated by drbrain (Eric Hodel) over 12 years ago
- Status changed from Open to Closed
Actions
Like0
Like0Like0