about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-02-16 14:56:54 -0800
committerCarlos O'Donell <carlos_odonell@mentor.com>2012-05-01 15:52:33 -0400
commit13ccceff48fe5c08cd33d92c177b6e3299df1a11 (patch)
tree14c911e909c464094343c21c6c629a7e1e9360da
parentc4440594575b59affb2f6e56059d145405fc5b7d (diff)
downloadglibc-13ccceff48fe5c08cd33d92c177b6e3299df1a11.tar.gz
glibc-13ccceff48fe5c08cd33d92c177b6e3299df1a11.tar.xz
glibc-13ccceff48fe5c08cd33d92c177b6e3299df1a11.zip
Add O_FSYNC define to sparc just like other platforms.
(cherry-picked from commit fb59b3a4f54777652dc877a1df0fcc009b741d87)
-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 */