Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2002 22:41:46 -0500
From:      Mike Barcroft <mike@FreeBSD.org>
To:        Marc Recht <marc@informatik.uni-bremen.de>
Cc:        Garrett Wollman <wollman@lcs.mit.edu>, current@FreeBSD.ORG
Subject:   Re: addition to cdefs
Message-ID:  <20021111224146.H52940@espresso.q9media.com>
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 %2B0100
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>

next in thread | previous in thread | raw e-mail | index | archive | help
Marc Recht <marc@informatik.uni-bremen.de> writes:
> > I've had the attached patch in my tree for a while.  I'll try and get
> > it and the <unistd.h> 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.  <sys/socket.h> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021111224146.H52940>