[PATCH] PPC fcntl.h define O_DIRECT
GOTO Masanori
gotom@debian.or.jp
Fri Feb 28 23:35:00 GMT 2003
Hi,
At Thu, 27 Feb 2003 09:28:06 -0600,
Steven Munroe wrote:
> General PPC cleanup,
>
> 2003-02-26 Steven Munroe <sjmunroe@us.ibm.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@debian.or.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
More information about the Libc-alpha
mailing list