From owner-freebsd-current Mon Nov 11 19:50:40 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F38BA37B401 for ; Mon, 11 Nov 2002 19:50:38 -0800 (PST) Received: from espresso.q9media.com (espresso.q9media.com [65.39.129.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C86143E42 for ; Mon, 11 Nov 2002 19:50:38 -0800 (PST) (envelope-from mike@espresso.q9media.com) Received: by espresso.q9media.com (Postfix, from userid 1002) id 1D95A9BC3; Mon, 11 Nov 2002 22:41:46 -0500 (EST) Date: Mon, 11 Nov 2002 22:41:46 -0500 From: Mike Barcroft To: Marc Recht Cc: Garrett Wollman , current@FreeBSD.ORG Subject: Re: addition to cdefs Message-ID: <20021111224146.H52940@espresso.q9media.com> References: <1037017897.779.20.camel@leeloo.intern.geht.de> <20021111095458.F52940@espresso.q9media.com> <1037029019.779.87.camel@leeloo.intern.geht.de> <20021111112128.G52940@espresso.q9media.com> <1037033768.779.101.camel@leeloo.intern.geht.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1037033768.779.101.camel@leeloo.intern.geht.de>; from marc@informatik.uni-bremen.de on Mon, Nov 11, 2002 at 05:56:08PM +0100 Organization: The FreeBSD Project Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Marc Recht writes: > > I've had the attached patch in my tree for a while. I'll try and get > > it and the patch committed today. > Thanks! This solves some problems, but there are some left. Mostly socket > and rpc related. For example PF_INET and friends are undefined.. This one looks like a problem on Python's end. is new in POSIX.1-2001, so including it in a strictly conforming older POSIX or X/Open program is wrong. I could recommend either specifying 200112 for the POSIX version (likewise the X/Open) constant or not specifying a standard. > > The whole point of the standards constants is to specify a strict > > environment. If you want a BSD environment don't specify a particular > > standard, it's simple. > I'm thinking more of it like an aggregation. IMHO it should be possible, > if the user wants to, to get POSIX 199506 and BSD. With no standard environment specified, all POSIX.1-1996 objects should still be available. Can you provide an example where no constants specified would differ from _BSD_SOURCE and _POSIX_C_SOURCE being specified? Best regards, Mike Barcroft To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message