]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add O_FSYNC define to sparc just like other platforms.
authorDavid S. Miller <davem@davemloft.net>
Thu, 16 Feb 2012 22:56:54 +0000 (14:56 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Feb 2012 22:56:54 +0000 (14:56 -0800)
ChangeLog
sysdeps/unix/sysv/linux/sparc/bits/fcntl.h

index d106b060f6fca0040aa3a5423f75eea818728d6c..08460a5b827c2577429b94cfec88f6b733046318 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,9 @@
 
 2012-02-16  David S. Miller  <davem@davemloft.net>
 
+       [BZ #11494]
+       * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
+
        * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
        * sysdeps/sparc/crti.S: New file.
        * sysdeps/sparc/crtn.S: New file.
index 7f6c8cd5baee0c0b03dd651868e9810f761d558e..7ce09da56c1b5bf858ac0a0e7177c65aa1edef07 100644 (file)
@@ -39,6 +39,7 @@
 #define O_TRUNC                0x0400  /* not fcntl */
 #define O_EXCL         0x0800  /* not fcntl */
 #define O_SYNC         0x802000
+#define O_FSYNC                O_SYNC
 #define O_NONBLOCK     0x4000
 #define O_NDELAY       (0x0004 | O_NONBLOCK)
 #define O_NOCTTY       0x8000  /* not fcntl */