* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
	O_RSYNC.  Patch by Christian Gafton.
This commit is contained in:
Ulrich Drepper 1999-08-17 01:28:07 +00:00
parent 22318b7b13
commit 23d914d96a
2 changed files with 11 additions and 0 deletions

View File

@ -1,5 +1,8 @@
1999-08-16 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
O_RSYNC. Patch by Christian Gafton.
* stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
possibly unterminated strings for %ls when a precision is
specified.

View File

@ -56,6 +56,14 @@
# 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. */