]> 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)
committerCarlos O'Donell <carlos_odonell@mentor.com>
Tue, 1 May 2012 19:52:33 +0000 (15:52 -0400)
(cherry-picked from commit fb59b3a4f54777652dc877a1df0fcc009b741d87)

ChangeLog
NEWS
sysdeps/unix/sysv/linux/sparc/bits/fcntl.h

index 73e2fd7bc1998b9d811c021336cc4a5ab0c70e59..ff8dcc898253d234d5aa8abeb2da62336c74d8e0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
        [BZ #411]
        * sysdeps/unix/sysv/linux/i386/sysdep.h: Redefine __i686.
 
+2012-02-16  David S. Miller  <davem@davemloft.net>
+
+       [BZ #11494]
+       * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
+
 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
 
        * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
diff --git a/NEWS b/NEWS
index 82e2b2c9378d08ca1d5eb1ebf04dd3b3b809a5ce..cffce8893835ca957e336befc67087f9a10b34e8 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -9,7 +9,7 @@ Version 2.15.1
 
 * The following bugs are resolved with this release:
 
-  411, 2547, 2548, 11365, 13731, 13732, 13733, 13748
+  411, 2547, 2548, 11365, 11494, 13731, 13732, 13733, 13747, 13748
 
 Version 2.15
 
index 1271a12cecc8d83872c7e2bb8e9deda0957c9e23..b5c93672e5e6a401e1aad6288d5a01a450627e72 100644 (file)
@@ -40,6 +40,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 */