]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 17 Aug 1999 01:28:07 +0000 (01:28 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 17 Aug 1999 01:28:07 +0000 (01:28 +0000)
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
O_RSYNC.  Patch by Christian Gafton.

ChangeLog
sysdeps/unix/sysv/linux/sparc/bits/fcntl.h

index 4f4d6e4be4b22401a794823848293cf31fc1541e..ca0a789f0ef1d7f55e89a4bcf30e0985b3f88d7d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 30fb0b78a8da16c8ffb2baa1dc72220c3b615fae..4a3392c8a00bf43c4c2819ba0d6a5c03fbf56024 100644 (file)
 # 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.  */