fdatasync: minor improvements
authorEric Blake <eblake@redhat.com>
Fri, 16 Sep 2011 18:47:13 +0000 (12:47 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 16 Sep 2011 18:47:13 +0000 (12:47 -0600)
commit1500d77252e6158b8e421de52f60057b0feedab8
tree55ce04d0f10072a26457c596cc2ae1e1d0293c96
parentf406ad994a062e650f7d0a5f0ba515e8ddb0c4a3
fdatasync: minor improvements

Picks up some ideas by Paul Eggert from here:
https://lists.gnu.org/archive/html/bug-coreutils/2011-07/msg00157.html

* modules/fdatasync (Depends-on): Add condition for fsync.
* lib/fdatasync.c (fdatasync): Add comment.
* tests/test-unistd-c++.cc: Test fdatasync.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
lib/fdatasync.c
modules/fdatasync
tests/test-unistd-c++.cc