This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
Community source repository for glibc add-on ports branch, master, updated. glibc-2.11-37-g1f4a25a
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 30 Jan 2010 00:17:27 -0000
- Subject: Community source repository for glibc add-on ports branch, master, updated. glibc-2.11-37-g1f4a25a
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 "Community source repository for glibc add-on ports".
The branch, master has been updated
via 1f4a25ae2bf28e46fbb3a2443d86d00b0a296eef (commit)
from 77b22d3e998132c5c27cd43c92f141ccb2175192 (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-ports.git;a=commitdiff;h=1f4a25ae2bf28e46fbb3a2443d86d00b0a296eef
commit 1f4a25ae2bf28e46fbb3a2443d86d00b0a296eef
Author: Matt Turner <mattst88@gmail.com>
Date: Sat Jan 30 00:17:16 2010 +0000
Update Alpha O_SYNC.
diff --git a/ChangeLog.alpha b/ChangeLog.alpha
index e0fc5a3..2bf2d52 100644
--- a/ChangeLog.alpha
+++ b/ChangeLog.alpha
@@ -1,3 +1,8 @@
+2010-01-12 Matt Turner <mattst88@gmail.com>
+
+ * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Redefine O_SYNC and
+ O_DSYNC to match 2.6.33+ kernels.
+
2009-12-02 Mike Frysinger <vapier@gentoo.org>
* sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Fix typo in
diff --git a/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h b/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
index 1e71643..a6ea1ca 100644
--- a/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
@@ -1,5 +1,5 @@
/* O_*, F_*, FD_* bit values for Linux.
- Copyright (C) 1995-2000,2004,2005,2006,2007 Free Software Foundation, Inc.
+ Copyright (C) 1995-2000,2004,2005,2006,2007,2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -41,7 +41,7 @@
#define O_NONBLOCK 00004
#define O_APPEND 00010
#define O_NDELAY O_NONBLOCK
-#define O_SYNC 040000
+#define O_SYNC 020040000
#define O_FSYNC O_SYNC
#define O_ASYNC 020000 /* fcntl, for BSD compatibility */
@@ -62,7 +62,7 @@
We define the symbols here but let them do the same as O_SYNC since
this is a superset. */
#if defined __USE_POSIX199309 || defined __USE_UNIX98
-# define O_DSYNC O_SYNC /* Synchronize data. */
+# define O_DSYNC 040000 /* Synchronize data. */
# define O_RSYNC O_SYNC /* Synchronize read operations. */
#endif
-----------------------------------------------------------------------
Summary of changes:
ChangeLog.alpha | 5 +++++
sysdeps/unix/sysv/linux/alpha/bits/fcntl.h | 6 +++---
2 files changed, 8 insertions(+), 3 deletions(-)
hooks/post-receive
--
Community source repository for glibc add-on ports