This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.16-ports-merge-511-gb4b4c29
- From: aj at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 22 Oct 2012 18:00:10 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.16-ports-merge-511-gb4b4c29
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via b4b4c2968ece5f95bffa6893b5d5b50e966ed40f (commit)
from 6fb54a225415a91050eb004d05bc62d6c3ca2b53 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=b4b4c2968ece5f95bffa6893b5d5b50e966ed40f
commit b4b4c2968ece5f95bffa6893b5d5b50e966ed40f
Author: Andreas Jaeger <aj@suse.de>
Date: Mon Oct 22 19:59:22 2012 +0200
Fix O_RSYNC
(O_RSYNC): Define to __O_RSYNC if it exists, otherwise to O_SYNC.
diff --git a/ChangeLog b/ChangeLog
index 221bc54..a3a6d34 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-22 Andreas Jaeger <aj@suse.de>
+
+ * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
+ __O_RSYNC if it exists, otherwise to O_SYNC.
+
2012-10-22 Jim Blandy <jimb@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
diff --git a/sysdeps/unix/sysv/linux/bits/fcntl-linux.h b/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
index f0c0d7d..dbd76ad 100644
--- a/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
+++ b/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
@@ -135,7 +135,11 @@
since this is a superset. */
#if defined __USE_POSIX199309 || defined __USE_UNIX98
# define O_DSYNC __O_DSYNC /* Synchronize data. */
-# define O_RSYNC __O_SYNC /* Synchronize read operations. */
+# if defined __O_RSYNC
+# define O_RSYNC __O_RSYNC /* Synchronize read operations. */
+# else
+# define O_RSYNC O_SYNC /* Synchronize read operations. */
+# endif
#endif
/* Values for the second argument to `fcntl'. */
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
sysdeps/unix/sysv/linux/bits/fcntl-linux.h | 6 +++++-
2 files changed, 10 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources