about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--NEWS2
-rw-r--r--sysdeps/unix/sysv/linux/sparc/bits/fcntl.h1
3 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 73e2fd7bc1..ff8dcc8982 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -76,6 +76,11 @@
 	[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 82e2b2c937..cffce88938 100644
--- 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
 
diff --git a/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h b/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
index 1271a12cec..b5c93672e5 100644
--- a/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
@@ -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 */