mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Fix O_RSYNC
(O_RSYNC): Define to __O_RSYNC if it exists, otherwise to O_SYNC.
This commit is contained in:
@ -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>
|
2012-10-22 Jim Blandy <jimb@codesourcery.com>
|
||||||
Joseph Myers <joseph@codesourcery.com>
|
Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
@ -135,7 +135,11 @@
|
|||||||
since this is a superset. */
|
since this is a superset. */
|
||||||
#if defined __USE_POSIX199309 || defined __USE_UNIX98
|
#if defined __USE_POSIX199309 || defined __USE_UNIX98
|
||||||
# define O_DSYNC __O_DSYNC /* Synchronize data. */
|
# 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
|
#endif
|
||||||
|
|
||||||
/* Values for the second argument to `fcntl'. */
|
/* Values for the second argument to `fcntl'. */
|
||||||
|
Reference in New Issue
Block a user