diff options
author | Eric Blake <eblake@redhat.com> | 2011-09-16 13:49:16 -0600 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2011-09-16 13:49:16 -0600 |
commit | c14a71ce5f8a891ee3fe00f9ccbe2d3c85062708 (patch) | |
tree | dba098004d7ad44839695ac4da1b9aed2f98017e /modules/fdatasync-tests | |
parent | 1500d77252e6158b8e421de52f60057b0feedab8 (diff) | |
download | gnulib-c14a71ce5f8a891ee3fe00f9ccbe2d3c85062708.tar.gz |
fdatasync: port to MacOS X 10.7
MacOS X 10.7 added an fdatasync syscall and exports a symbol for it,
but fails to declare it anywhere. Lacking any hard evidence that this
syscall is broken, we will just provide the declaration and use it.
* m4/fdatasync.m4 (gl_FUNC_FDATASYNC): Check for present but not
declared.
* m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Another default.
* modules/unistd (Makefile.am): Substitute it.
* lib/unistd.in.h (fdatasync): Declare on MacOS.
* doc/posix-functions/fdatasync.texi (fdatasync): Document it.
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'modules/fdatasync-tests')
0 files changed, 0 insertions, 0 deletions