* 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

@ -246,12 +246,13 @@ details. */
116: Export atoll.
117: Export utmpx functions, Return utmp * from pututent.
118: Export getpriority, setpriority.
118: Export fdatasync.
*/
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
#define CYGWIN_VERSION_API_MAJOR 0
#define CYGWIN_VERSION_API_MINOR 118
#define CYGWIN_VERSION_API_MINOR 119
/* There is also a compatibity version number associated with the
shared memory regions. It is incremented when incompatible