public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Fix O_DIRECT on ia64
@ 2006-08-08 18:15 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2006-08-08 18:15 UTC (permalink / raw)
  To: Ulrich Drepper; +Cc: Glibc hackers

Hi!

O_DIRECT is protected by __USE_GNU on all arches but ia64, so guess
we should be consistent.

2006-08-08  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (O_DIRECT): Protect with
	__USE_GNU.

--- libc/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h.jj	2006-08-03 19:36:26.000000000 +0200
+++ libc/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h	2006-08-08 20:09:17.000000000 +0200
@@ -43,9 +43,9 @@
 #define O_SYNC		010000
 #define O_FSYNC		O_SYNC
 #define O_ASYNC		020000
-#define O_DIRECT	040000
 
 #ifdef __USE_GNU
+# define O_DIRECT	040000
 # define O_DIRECTORY	0200000	/* must be a directory */
 # define O_NOFOLLOW	0400000 /* don't follow links */
 # define O_NOATIME	01000000 /* Do not set atime.  */

	Jakub

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-08-08 18:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-08 18:15 [PATCH] Fix O_DIRECT on ia64 Jakub Jelinek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).