1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00

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>
This commit is contained in:
Eric Blake
2011-09-16 12:47:13 -06:00
parent f406ad994a
commit 1500d77252
4 changed files with 12 additions and 1 deletions

View File

@@ -6,7 +6,7 @@ lib/fdatasync.c
m4/fdatasync.m4
Depends-on:
fsync
fsync [test $HAVE_FDATASYNC = 0]
unistd
configure.ac: