[Python-Dev] Snake farm

Martin v. Loewis martin@v.loewis.de
11 Nov 2002 19:25:55 +0100


Marc Recht <marc@informatik.uni-bremen.de> writes:

> The responsible person seems to be against a solution like this. But, in
> the discussion it turns out that you are right and there some bugs in
> FreeBSD's unistd.h. The fixes will (probably) committed today. But 
> there are some issues left mostly in the RPC and socket code, which need
> __BSD_VISIBLE. 

Please be as precise as possible when talking about this stuff. What
issues precisely?

I'm not going to accept patches for platform-specific changes just
because a user said that these changes are needed "to make it
work". Instead, I want to record the *precise* cause that triggered
these changes, so that others can re-evaluate whether they are still
needed five years from now.

> Some problems are left, because some functions (like ftello) are
> only defined at a higher POSIX level.

Why is that a problem?

> > > > Only if all other options have been exhausted. What problems occur if
> > > > _XOPEN_SOURCE is defined?
> > > _XOPEN_SOURCE sets _POSIX_C_SOURCE.
> > 
> > And why is that a problem?
> In that case __BSD_VISIBLE is not set.

And why is that a problem?

This is exhausting.

Regards,
Martin