[PATCH] PPC fcntl.h define O_DIRECT

Steven Munroe sjmunroe@us.ibm.com
Thu Feb 27 15:51:00 GMT 2003


General PPC cleanup, 

2003-02-26  Steven Munroe  <sjmunroe@us.ibm.com>

        * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (O_DIRECT):
Define.

-- 
Steven Munroe
sjmunroe@us.ibm.com
Linux on PowerPC-64 Development
GLIBC for PowerPC-64 Development
-------------- next part --------------
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


More information about the Libc-alpha mailing list