Marc Recht <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message