Skip to content

Commit

Permalink
Remove duplicate definitions of O_DSYNC and O_RSYNC for Linux/sparc.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Schwab authored and Ulrich Drepper committed Jan 18, 2010
1 parent db07e96 commit f87d0da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
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
casting d_tag.

Expand Down
8 changes: 0 additions & 8 deletions sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,6 @@
# define O_RSYNC O_SYNC /* Synchronize read operations. */
#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'. */
#define F_DUPFD 0 /* Duplicate file descriptor. */
#define F_GETFD 1 /* Get file descriptor flags. */
Expand Down

0 comments on commit f87d0da

Please sign in to comment.