This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Define fdatasync alos for Cygwin.


FYI, I've applied the below patch.

Corinna

	* libc/include/sys/unistd.h: Define fdatasync also for Cygwin.

Index: libc/include/sys/unistd.h
===================================================================
RCS file: /cvs/src/src/newlib/libc/include/sys/unistd.h,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -p -r1.53 -r1.54
--- libc/include/sys/unistd.h   23 Aug 2004 18:39:52 -0000      1.53
+++ libc/include/sys/unistd.h   22 Feb 2005 15:31:51 -0000      1.54
@@ -53,9 +53,7 @@ int     _EXFUN(fchown, (int __fildes, ui
 pid_t   _EXFUN(fork, (void ));
 long    _EXFUN(fpathconf, (int __fd, int __name ));
 int     _EXFUN(fsync, (int __fd));
-#ifndef __CYGWIN__
 int     _EXFUN(fdatasync, (int __fd));
-#endif
 char    _EXFUN(*getcwd, (char *__buf, size_t __size ));
 #if defined(__CYGWIN__)
 int    _EXFUN(getdomainname ,(char *__name, size_t __len));

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]