This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] PPC fcntl.h define O_DIRECT


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]