From owner-freebsd-hackers Mon Feb 25 17: 9:23 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 3F98A37B400; Mon, 25 Feb 2002 17:09:10 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id MAA04903; Tue, 26 Feb 2002 12:08:35 +1100 Date: Tue, 26 Feb 2002 12:08:59 +1100 (EST) From: Bruce Evans X-X-Sender: To: David Malone Cc: "Andrey A. Chernov" , Sheldon Hearn , Maxim Sobolev , , , Subject: Re: or not ? [Was: cvs commit: src/include grp.h] In-Reply-To: <20020225144003.GA50785@walton.maths.tcd.ie> Message-ID: <20020226115508.T42756-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 25 Feb 2002, David Malone wrote: > I note that in the footnotes for getgrgid, in the section for "issue > 6" of the standard: > > The requirement to include has been removed. > Although was required for conforming > implementations of previous POSIX specifications, it was > not required for UNIX applications. > > Curiously, this seems to say the opposit of what you actually see > in SUSv2, as it lists as a prerequisit. This is probably because SUSv2 is almost as old as POSIX.1-1996 (which has the prerequisite). BTW, has the same prerequisite, but our version of is polluted with an include of . Nevertheless, we fixed several man pages to document the old-POSIX requirements. E.g.: RCS file: /home/ncvs/src/lib/libc/sys/fork.2,v Working file: fork.2 head: 1.14 ... ---------------------------- revision 1.7 date: 1998/01/11 16:51:49; author: alex; state: Exp; lines: +4 -1 branches: 1.7.2; Add to synopsis. Correct a grammatical error. Add cross-reference to setrlimit(2). Obtained from: OpenBSD ---------------------------- ISTR that most of the fixes came from OpenBSD. I haven't attempted to fix unistd.h since its pollution is old. I only police new pollution and must have been asleep when we broke several man pages to undocument the old-POSIX requirements. E.g.: RCS file: /home/ncvs/src/lib/libc/sys/setsid.2,v Working file: setsid.2 head: 1.12 ... ---------------------------- revision 1.6 date: 1997/04/08 10:43:47; author: peter; state: Exp; lines: +1 -1 setsid is declared in , which is self sufficient (doesn't need prior ) Fixes PR#3229, from Dmitrij Tejblum ---------------------------- Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message