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]

Re: [PATCH] PPC fcntl.h define O_DIRECT


Hi,

At Thu, 27 Feb 2003 09:28:06 -0600,
Steven Munroe wrote:
> 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.

This patch also addes O_DIRECT for sparc, please apply it.

Regards,
-- gotom

2003-03-01  GOTO Masanori  <gotom at debian dot or dot jp>

	* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: O_DIRECT defined.

--- sysdeps/unix/sysv/linux/sparc/bits/fcntl.h	2001-07-06 13:56:21.000000000 +0900
+++ sysdeps/unix/sysv/linux/sparc/bits/fcntl.h.new	2003-02-24 23:32:02.000000000 +0900
@@ -43,6 +43,7 @@
 #ifdef __USE_GNU
 # define O_DIRECTORY	0x10000 /* must be a directory */
 # define O_NOFOLLOW	0x20000 /* don't follow links */
+# define O_DIRECT	0x100000 /* direct disk access hint */
 #endif
 
 #ifdef __USE_LARGEFILE64


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