* 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:
Corinna Vinschen
2005-02-22 15:30:09 +00:00
parent 2f707783a2
commit a62f6b806e
5 changed files with 18 additions and 1 deletions

View File

@@ -918,6 +918,8 @@ fsync (int fd)
return cfd->fsync ();
}
EXPORT_ALIAS (fsync, fdatasync)
static void
sync_worker (const char *vol)
{