* cygwin.din (fdatasync): Export.
* fhandler.cc (fhandler_base::fsync): Return with EINVAL if no handle is available. * syscalls.cc (fdatasync): Create export alias to fsync. * include/cygwin/version.h: Bump API minor version.
This commit is contained in:
@@ -918,6 +918,8 @@ fsync (int fd)
|
||||
return cfd->fsync ();
|
||||
}
|
||||
|
||||
EXPORT_ALIAS (fsync, fdatasync)
|
||||
|
||||
static void
|
||||
sync_worker (const char *vol)
|
||||
{
|
||||
|
Reference in New Issue
Block a user