diff options
| author | Joseph Myers <joseph@codesourcery.com> | 2009-12-15 18:11:13 +0000 |
|---|---|---|
| committer | Joseph Myers <joseph@codesourcery.com> | 2009-12-15 18:11:13 +0000 |
| commit | 4d0f4f9f26f6185fef0be270fb5140be573af0f2 (patch) | |
| tree | ada9bcd88338f7f492beb4ca43350cfcc9e6e03a | |
| parent | 5d5cb5a2e546b59b25addc1a557cba56638d548a (diff) | |
| download | glibc-4d0f4f9f26f6185fef0be270fb5140be573af0f2.tar.xz glibc-4d0f4f9f26f6185fef0be270fb5140be573af0f2.zip | |
Update ARM O_SYNC.
| -rw-r--r-- | ChangeLog.arm | 5 | ||||
| -rw-r--r-- | sysdeps/unix/sysv/linux/arm/bits/fcntl.h | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog.arm b/ChangeLog.arm index c20b095226..03bfd34131 100644 --- a/ChangeLog.arm +++ b/ChangeLog.arm @@ -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 diff --git a/sysdeps/unix/sysv/linux/arm/bits/fcntl.h b/sysdeps/unix/sysv/linux/arm/bits/fcntl.h index d597c10139..4971473c0c 100644 --- a/sysdeps/unix/sysv/linux/arm/bits/fcntl.h +++ b/sysdeps/unix/sysv/linux/arm/bits/fcntl.h @@ -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 |
