From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7698 invoked by alias); 8 Aug 2006 18:15:59 -0000 Received: (qmail 7678 invoked by uid 22791); 8 Aug 2006 18:15:59 -0000 X-Spam-Check-By: sourceware.org Received: from sunsite.ms.mff.cuni.cz (HELO sunsite.mff.cuni.cz) (195.113.15.26) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 08 Aug 2006 18:15:54 +0000 Received: from sunsite.mff.cuni.cz (sunsite.mff.cuni.cz [127.0.0.1]) by sunsite.mff.cuni.cz (8.13.1/8.13.1) with ESMTP id k78IFfkE010818; Tue, 8 Aug 2006 20:15:41 +0200 Received: (from jj@localhost) by sunsite.mff.cuni.cz (8.13.1/8.13.1/Submit) id k78IFfDN010817; Tue, 8 Aug 2006 20:15:41 +0200 Date: Tue, 08 Aug 2006 18:15:00 -0000 From: Jakub Jelinek To: Ulrich Drepper Cc: Glibc hackers Subject: [PATCH] Fix O_DIRECT on ia64 Message-ID: <20060808181540.GE4556@sunsite.mff.cuni.cz> Reply-To: Jakub Jelinek Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Mailing-List: contact libc-hacker-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00012.txt.bz2 Hi! O_DIRECT is protected by __USE_GNU on all arches but ia64, so guess we should be consistent. 2006-08-08 Jakub Jelinek * 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