[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#577577: Info received (Bug#577577: O_FSYNC used but not defined on some archs)



forwarded 577577 http://sourceware.org/bugzilla/show_bug.cgi?id=11494
quit

We can try that this way.
--- a/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
@@ -208,7 +208,7 @@
    BSD systems which did not managed to hide these kernel macros.  */
 #ifdef	__USE_BSD
 # define FAPPEND	O_APPEND
-# define FFSYNC		O_FSYNC
+# define FFSYNC		O_SYNC
 # define FASYNC		O_ASYNC
 # define FNONBLOCK	O_NONBLOCK
 # define FNDELAY	O_NDELAY
--- a/ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
+++ b/ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
@@ -162,7 +162,7 @@
    BSD systems which did not managed to hide these kernel macros.  */
 #ifdef	__USE_BSD
 # define FAPPEND	O_APPEND
-# define FFSYNC		O_FSYNC
+# define FFSYNC		O_SYNC
 # define FASYNC		O_ASYNC
 # define FNONBLOCK	O_NONBLOCK
 # define FNDELAY	O_NDELAY

Reply to: