This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] hppa: fix __O_SYNC to match the kernel
- From: Mike Frysinger <vapier at gentoo dot org>
- To: libc-alpha at sourceware dot org
- Cc: carlos at systemhalted dot org, John David Anglin <dave dot anglin at bell dot net>
- Date: Tue, 24 Feb 2015 00:19:45 -0500
- Subject: [PATCH] hppa: fix __O_SYNC to match the kernel
- Authentication-results: sourceware.org; auth=none
From: John David Anglin <dave.anglin@bell.net>
2015-02-24 John David Anglin <dave.anglin@bell.net>
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
to 00100000.
---
sysdeps/unix/sysv/linux/hppa/bits/fcntl.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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.3.0