From 49f476f4791ea6974a7f67bdc3251ab03822c2aa Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Sun, 10 Aug 2014 10:00:23 -0400 Subject: [PATCH] hppa: fix __O_SYNC to match the kernel --- ChangeLog | 5 +++++ sysdeps/unix/sysv/linux/hppa/bits/fcntl.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b0755c3..3b5caa5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-02-27 John David Anglin + + * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change + to 00100000. + 2015-02-27 Joseph Myers * 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 9aad095..a800e28 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 */ -- 2.7.4