From owner-cvs-all Mon Feb 25 15:58: 6 2002 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 8D47137B405; Mon, 25 Feb 2002 15:57:44 -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 KAA28226; Tue, 26 Feb 2002 10:57:32 +1100 Date: Tue, 26 Feb 2002 10:57:55 +1100 (EST) From: Bruce Evans X-X-Sender: To: "Andrey A. Chernov" Cc: Maxim Sobolev , , Subject: Re: cvs commit: src/include grp.h In-Reply-To: <20020225140030.GD33818@nagual.pp.ru> Message-ID: <20020226104226.U42559-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@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, Andrey A. Chernov wrote: > On Mon, Feb 25, 2002 at 05:55:48 -0800, Maxim Sobolev wrote: > > sobomax 2002/02/25 05:55:48 PST > > > > Modified files: > > include grp.h > > Log: > > Backout rev.1.5 - it seems that it's posixly correct that the program > > needs to include before . Thanks. You should have seen my recent 10-20 commits for dependencies on namespace pollution in , and some of my hundreds of commits for namespace pollution not so recently. I don't want any new namespace pollution. > No, it breaks POSIX compatibility, please back it out. No, POSIX requires before for at least the following functions: getgrid(), getgrnam(). By POSIX, I mean the only version of POSIX that we really support (POSIX.1-1990). POSIX.1-1996 has the same requirement. POSIX.1-2001 relaxes this requirement, but we don't come close to supporting it. Even in POSIX.1-1990, it is permitted for to just work even if is not included before it, but only broken programs depend on this. Even in POSIX.1-1990, could be implemented by including if had no namespace pollution, unlike the FreeBSD version. Only much more broken programs depend on the details of the namespace pollution. Recent changes did not affect this requirement. Ports have had to deal with this for almost 10 years, since has had a gid_t in its prototope for getgrid() since rev.1.1. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message