bitcoin/bitcoin — pull request #1879 by sipa (2012-09-28 12:28:17+00:00)
Title: Use fdatasync instead of fsync on supported platforms

As we don't use the file metadata anyway.