]> git.cworth.org Git - notmuch/commit
notmuch-dump: use fsync instead of fdatasync
authorDavid Bremner <david@tethera.net>
Thu, 8 May 2014 11:57:07 +0000 (20:57 +0900)
committerDavid Bremner <david@tethera.net>
Sat, 17 May 2014 21:31:15 +0000 (06:31 +0900)
commitf3ee655b493c7e57621226a98abc9e9db5d0cb27
tree2146f16c3c962aa877c0b61e0d0cfce22169af4a
parentf6b54fbcf6860e687b5b058810c1d17622dbab23
notmuch-dump: use fsync instead of fdatasync

Since the file size will have changed, there is no performance benefit
to calling fdatasync.  Somewhat surprisingly, using fdatasync
apparently causes portability problems on FreeBSD.
notmuch-dump.c