]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update ARM O_SYNC.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 15 Dec 2009 18:11:13 +0000 (18:11 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 15 Dec 2009 18:11:13 +0000 (18:11 +0000)
ChangeLog.arm
sysdeps/unix/sysv/linux/arm/bits/fcntl.h

index c20b0952266795f631898617e9301ac6ea52129b..03bfd34131d66e52432537836d3ba13802dd8eef 100644 (file)
@@ -1,3 +1,8 @@
+2009-12-15  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Redefine O_SYNC and
+       O_DSYNC to match 2.6.33+ kernels.
+
 2009-11-19  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Introduce new symbol
index d597c1013925a33c5fe4b3dc7effd47e1bf6f095..4971473c0c8f7c939d162ea28bfd8cb6c0507478 100644 (file)
@@ -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