This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[PATCH] PPC fcntl.h define O_DIRECT
- From: Steven Munroe <sjmunroe at us dot ibm dot com>
- To: libc-alpha at sources dot redhat dot com
- Cc: Franz-Sirl at lauterbach dot com, paulus at samba dot org, anton at samba dot org
- Date: Thu, 27 Feb 2003 09:28:06 -0600
- Subject: [PATCH] PPC fcntl.h define O_DIRECT
- Organization: IBM Linux Developement
- Reply-to: sjmunroe at vnet dot ibm dot com
General PPC cleanup,
2003-02-26 Steven Munroe <sjmunroe at us dot ibm dot com>
* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (O_DIRECT):
Define.
--
Steven Munroe
sjmunroe at us dot ibm dot com
Linux on PowerPC-64 Development
GLIBC for PowerPC-64 Development
diff -urN libc23-cvstip-20030226/sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h libc23/sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h
--- libc23-cvstip-20030226/sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h 2001-07-05 23:56:19.000000000 -0500
+++ libc23/sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h 2003-02-27 09:20:57.000000000 -0600
@@ -44,6 +44,7 @@
#ifdef __USE_GNU
# define O_DIRECTORY 040000 /* Must be a directory. */
# define O_NOFOLLOW 0100000 /* Do not follow links. */
+# define O_DIRECT 0400000 /* Direct disk access. */
#endif
#ifdef __USE_LARGEFILE64