Update Alpha O_SYNC.
This commit is contained in:
parent
77b22d3e99
commit
1f4a25ae2b
@ -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>
|
2009-12-02 Mike Frysinger <vapier@gentoo.org>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Fix typo in
|
* sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Fix typo in
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* O_*, F_*, FD_* bit values for Linux.
|
/* 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.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -41,7 +41,7 @@
|
|||||||
#define O_NONBLOCK 00004
|
#define O_NONBLOCK 00004
|
||||||
#define O_APPEND 00010
|
#define O_APPEND 00010
|
||||||
#define O_NDELAY O_NONBLOCK
|
#define O_NDELAY O_NONBLOCK
|
||||||
#define O_SYNC 040000
|
#define O_SYNC 020040000
|
||||||
#define O_FSYNC O_SYNC
|
#define O_FSYNC O_SYNC
|
||||||
#define O_ASYNC 020000 /* fcntl, for BSD compatibility */
|
#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
|
We define the symbols here but let them do the same as O_SYNC since
|
||||||
this is a superset. */
|
this is a superset. */
|
||||||
#if defined __USE_POSIX199309 || defined __USE_UNIX98
|
#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. */
|
# define O_RSYNC O_SYNC /* Synchronize read operations. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user