graydon/rust — pull request #1247 by boggle (2011-12-02 02:03:59+00:00)
Title: Sync io

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