/* Emulate fdatasync on platforms that lack it.
- Copyright (C) 2011 Free Software Foundation, Inc.
+ Copyright (C) 2011-2013 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
int
fdatasync (int fd)
{
+ /* This does more work than strictly necessary, but is the best we
+ can do portably. */
return fsync (fd);
}