From owner-cvs-all Mon Jun 10 16:29:23 2002 Delivered-To: cvs-all@freebsd.org Received: from out012.verizon.net (out012pub.verizon.net [206.46.170.137]) by hub.freebsd.org (Postfix) with ESMTP id 6296837B401; Mon, 10 Jun 2002 16:29:18 -0700 (PDT) Received: from bellatlantic.net ([138.89.158.234]) by out012.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020610232916.UMQS4569.out012.verizon.net@bellatlantic.net>; Mon, 10 Jun 2002 18:29:16 -0500 Message-ID: <3D05364A.469A44A5@bellatlantic.net> Date: Mon, 10 Jun 2002 19:29:14 -0400 From: Sergey Babkin Reply-To: babkin@freebsd.org X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-19990626-CURRENT i386) X-Accept-Language: en, ru MIME-Version: 1.0 To: Mike Barcroft Cc: Matthew Dillon , Greg 'groggy' Lehey , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/include pwd.h References: <200206091939.g59JdJC05285@freefall.freebsd.org> <20020610004026.GD61036@wantadilla.lemis.com> <200206100049.g5A0nr1P004846@apollo.backplane.com> <20020609211243.C51371@espresso.q9media.com> <200206100314.g5A3EjTt005317@apollo.backplane.com> <20020609232020.F51371@espresso.q9media.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Mike Barcroft wrote: > > Matthew Dillon writes: > > Which specification are you looking at? I'm all for conforming to > > standards but this is new to me. > > Well, POSIX and X/Open were merged into on standard POSIX.1-2001 > aka SUSv3. I think the requirements that the typedefs be in each > header comes from the X/Open side, but I'm sure Bruce or Garrett could > elaborate. This (defining the types multiple times) is definitely not a part of Unix95 nor Unix98. And the approach of defining the types multiple times looks very wrong to me. It is absolutely bound to end up with types changed in some headers but not in the others. And I think that the whole argument about "namespace pollution" is completely bogus. > > In anycase, if you are going to remove the sys/types.h dependancy > > for pwd.h (and other headers) then you also need to document that in > > the related manual pages. > > It won't do any harm to additionally include , but you > are right, they should be updated. The standard way remove to the requirement of including before is to include from inside . -SB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message