summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/sh/bits/fcntl.h
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2009-12-14 16:38:19 +0100
committerAndreas Schwab <schwab@redhat.com>2009-12-14 16:38:19 +0100
commit57596e7a129337d40dc4c966aa65009b7339f3cc (patch)
tree5922f5630b0bca97035c598775d4c9ee8ce4c2a6 /sysdeps/unix/sysv/linux/sh/bits/fcntl.h
parent72500358549b4df4cd239e081733a643fb3b3d03 (diff)
parent2510d01ddba195f8cfaa3c2349f75e0612719d82 (diff)
Merge remote branch 'origin/master' into fedora/master
Diffstat (limited to 'sysdeps/unix/sysv/linux/sh/bits/fcntl.h')
-rw-r--r--sysdeps/unix/sysv/linux/sh/bits/fcntl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/sh/bits/fcntl.h b/sysdeps/unix/sysv/linux/sh/bits/fcntl.h
index f57a461b67..8eaf7c368b 100644
--- a/sysdeps/unix/sysv/linux/sh/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/sh/bits/fcntl.h
@@ -29,7 +29,7 @@
/* open/fcntl - O_SYNC is only implemented on blocks devices and on files
- located on an ext2 file system */
+ located on a few file systems. */
#define O_ACCMODE 0003
#define O_RDONLY 00
#define O_WRONLY 01
@@ -41,7 +41,7 @@
#define O_APPEND 02000
#define O_NONBLOCK 04000
#define O_NDELAY O_NONBLOCK
-#define O_SYNC 010000
+#define O_SYNC 04010000
#define O_FSYNC O_SYNC
#define O_ASYNC 020000
@@ -57,7 +57,7 @@
We define the symbols here but let them do the same as O_SYNC since
this is a superset. */
#if defined __USE_POSIX199309 || defined __USE_UNIX98
-# define O_DSYNC O_SYNC /* Synchronize data. */
+# define O_DSYNC 010000 /* Synchronize data. */
# define O_RSYNC O_SYNC /* Synchronize read operations. */
#endif