From 23d914d96abe41e282a65329ee9e32e108b74d2c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 17 Aug 1999 01:28:07 +0000 Subject: Update. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and O_RSYNC. Patch by Christian Gafton. --- sysdeps/unix/sysv/linux/sparc/bits/fcntl.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sysdeps') diff --git a/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h b/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h index 30fb0b78a8..4a3392c8a0 100644 --- a/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h +++ b/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h @@ -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. */ -- cgit 1.4.1