mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Remove duplicate definitions of O_DSYNC and O_RSYNC for Linux/sparc.
This commit is contained in:
committed by
Ulrich Drepper
parent
db07e962b6
commit
f87d0dac8b
@ -1,5 +1,8 @@
|
|||||||
2010-01-18 Andreas Schwab <schwab@redhat.com>
|
2010-01-18 Andreas Schwab <schwab@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Remove duplicate
|
||||||
|
definitions of O_DSYNC and O_RSYNC.
|
||||||
|
|
||||||
* elf/dynamic-link.h (elf_get_dynamic_info): Use correct type when
|
* elf/dynamic-link.h (elf_get_dynamic_info): Use correct type when
|
||||||
casting d_tag.
|
casting d_tag.
|
||||||
|
|
||||||
|
@ -70,14 +70,6 @@
|
|||||||
# define O_RSYNC O_SYNC /* Synchronize read operations. */
|
# define O_RSYNC O_SYNC /* Synchronize read operations. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* For now Linux has synchronisity options for data and read operations.
|
|
||||||
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_RSYNC O_SYNC /* Synchronize read operations. */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Values for the second argument to `fcntl'. */
|
/* Values for the second argument to `fcntl'. */
|
||||||
#define F_DUPFD 0 /* Duplicate file descriptor. */
|
#define F_DUPFD 0 /* Duplicate file descriptor. */
|
||||||
#define F_GETFD 1 /* Get file descriptor flags. */
|
#define F_GETFD 1 /* Get file descriptor flags. */
|
||||||
|
Reference in New Issue
Block a user