about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@bell.net>2014-08-10 10:00:23 -0400
committerMike Frysinger <vapier@gentoo.org>2015-02-27 01:46:01 -0500
commit49f476f4791ea6974a7f67bdc3251ab03822c2aa (patch)
tree903dbfe71f7b630fc3743c1209ac7965ca5216aa
parentf8ab5d38fdcbeaba4190ee5d8c768222a495978a (diff)
downloadglibc-49f476f4791ea6974a7f67bdc3251ab03822c2aa.tar.gz
glibc-49f476f4791ea6974a7f67bdc3251ab03822c2aa.tar.xz
glibc-49f476f4791ea6974a7f67bdc3251ab03822c2aa.zip
hppa: fix __O_SYNC to match the kernel
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/hppa/bits/fcntl.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b0755c3a47..3b5caa532b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-02-27  John David Anglin  <dave.anglin@bell.net>
+
+	* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
+	to 00100000.
+
 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
 
 	* sysdeps/ieee754/k_standard.c (CSTR): Add comment.
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h b/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
index 9aad095acd..a800e28db2 100644
--- a/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
@@ -27,7 +27,7 @@
 #define O_NONBLOCK	00200004 /* HPUX has separate NDELAY & NONBLOCK */
 #define __O_DSYNC	01000000
 #define __O_RSYNC	02000000 /* HPUX only */
-#define __O_SYNC	01000000
+#define __O_SYNC	00100000
 #define O_SYNC		(__O_SYNC|__O_DSYNC)
 
 #define O_BLKSEEK	00000100 /* HPUX only */