From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8376 invoked by alias); 23 Feb 2011 18:04:31 -0000 Received: (qmail 8358 invoked by uid 22791); 23 Feb 2011 18:04:30 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,TW_FC,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from weizen.linux-kernel.at (HELO mail.linux-kernel.at) (213.129.242.86) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 23 Feb 2011 18:04:24 +0000 Received: by mail.linux-kernel.at with ESMTP id p1NI46St032544; Wed, 23 Feb 2011 19:04:07 +0100 Message-ID: <4D654C15.806@linux-kernel.at> Date: Wed, 23 Feb 2011 18:04:00 -0000 From: Oliver Falk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 To: Matt Turner CC: libc-ports@sourceware.org Subject: Re: alpha fcntl bits missing defines References: <4D64F4E6.8000702@linux-kernel.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-lkernAT-MailScanner-Information: Please contact the ISP for more information X-lkernAT-MailScanner-ID: p1NI46St032544 X-lkernAT-MailScanner: Found to be clean X-lkernAT-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.901, required 5, autolearn=not spam, BAYES_00 -1.90, NO_RELAYS -0.00) X-lkernAT-MailScanner-Watermark: 1299089047.82252@OKc7Qv7qHEw0/zpw1CcRuA Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org X-SW-Source: 2011-02/txt/msg00028.txt.bz2 Hi Matt! Am 23.02.2011 17:57, schrieb Matt Turner: > On Wed, Feb 23, 2011 at 11:52 AM, Oliver Falk wrote: >> Hi! >> >> Just noticed, that [ports]/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h is >> missing the following 2 defines: >> >> --- fcntl.h.PIPE_SZ 2011-02-23 10:46:09.000000000 +0100 >> +++ fcntl.h 2011-02-23 10:46:11.000000000 +0100 >> @@ -97,6 +97,8 @@ >> # define F_SETLEASE 1024 /* Set a lease. */ >> # define F_GETLEASE 1025 /* Enquire what lease is active. */ >> # define F_NOTIFY 1026 /* Request notfications on a directory. */ >> +# define F_SETPIPE_SZ 1031 /* Set pipe page size array. */ >> +# define F_GETPIPE_SZ 1032 /* Set pipe page size array. */ >> #endif >> #ifdef __USE_XOPEN2K8 >> # define F_DUPFD_CLOEXEC 1030 /* Duplicate file descriptor with >> >> Would be great if one could add it. >> >> -of > > I'm curious. What program needs these defines? > > More evidence that we need a common set of headers. Actually glibc needs it :-) See also ia64/bits/fcntl.h. Actually it is used by fpathconf.c. And... It's glibc 2.12/2.13... -of