From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 69054 invoked by alias); 30 Nov 2016 10:46:11 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 69008 invoked by uid 89); 30 Nov 2016 10:46:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=gave X-HELO: mail.pacific.net Subject: Re: [PATCH 3/3] manual: Add new header and standards annotations. To: Joseph Myers References: <20161123063807.14845-1-ricaljasan@pacific.net> <20161123063807.14845-4-ricaljasan@pacific.net> Cc: libc-alpha@sourceware.org, Michael Kerrisk , "Carlos O'Donell" From: Rical Jasan Message-ID: Date: Wed, 30 Nov 2016 10:46:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Null-Tag: 70a32ef52881a0cda198b5c84315662e X-SW-Source: 2016-11/txt/msg01089.txt.bz2 On 11/25/2016 08:16 AM, Joseph Myers wrote: > On Fri, 25 Nov 2016, Rical Jasan wrote: > >> On 11/23/2016 09:42 AM, Joseph Myers wrote: >>> In stdio.h, >>> SEEK_SET, SEEK_CUR, SEEK_END are all likewise C90. >> >> What about the other 2 headers? I had: >> >> @comment stdio.h unistd.h fcntl.h >> @comment ISOC99, POSIX, XOPEN || XOPEN2K8 >> >> Do you want: >> >> @comment stdio.h unistd.h fcntl.h >> @comment C90, POSIX, XOPEN || POSIX.1-2008 > > Well, I'd like that comment in summary.awk saying what the intended syntax > actually is in the case of multiple headers (how the standards are to be > matched to the headers). But: I'm not sure summary.awk does any matching, but I'd have to take a closer look, as I wasn't watching explicitly for that. I'll certainly update the comment with accepted syntax, though. > For stdio.h it's C90. > > For unistd.h it's POSIX.1 (i.e. 1990 edition, in the list I gave of > possible notation for standards). > > For fcntl.h it's XOPEN || POSIX.1-2008. > > So if comma-separated standards correspond to space-separated headers, > it's as you say except for my proposed notation saying POSIX.1 for the > 1990 edition. Would you like to see an additional patch in the set that converts existing XOPEN2K, etc.? I've only fixed the ones I introduced. Rical