From 13ccceff48fe5c08cd33d92c177b6e3299df1a11 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Thu, 16 Feb 2012 14:56:54 -0800 Subject: [PATCH] Add O_FSYNC define to sparc just like other platforms. (cherry-picked from commit fb59b3a4f54777652dc877a1df0fcc009b741d87) --- ChangeLog | 5 +++++ NEWS | 2 +- sysdeps/unix/sysv/linux/sparc/bits/fcntl.h | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 73e2fd7bc19..ff8dcc89825 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 + + [BZ #11494] + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define. + 2012-02-08 Andreas Schwab * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn diff --git a/NEWS b/NEWS index 82e2b2c9378..cffce889383 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 1271a12cecc..b5c93672e5e 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 */ -- 2.47.2