This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] PPC fcntl.h define O_DIRECT
- From: GOTO Masanori <gotom at debian dot or dot jp>
- To: libc-alpha at sources dot redhat dot com
- Cc: Steven Munroe <sjmunroe at us dot ibm dot com>
- Date: Sat, 01 Mar 2003 08:35:35 +0900
- Subject: Re: [PATCH] PPC fcntl.h define O_DIRECT
- References: <3E5E2E86.63D488EE@us.ibm.com>
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