On Thu, 3 Jun 2004, Larry Rosenman wrote:
On Thu, 3 Jun 2004, Ilja Booij wrote:
hmm, I don't know if it's safe to just define _XOPEN_SOURCE to a value of
500 or higher. If I understand it correctly, it will then move from BSD to
UNIX98 API for all socket APIs. I don't know if that's something that we
want.
According to my FreeBSD 4.10 system (my 5.2-CURRENT system is broke at the
moment), the shutdown(2) call is POSIX.
So, y'all may be mixing metaphors here, so to speak.
It's been confirmed that this is a header bug in UnixWare (their general
take is all is defined, and the feature test macros HIDE stuff that's against
the standard).
So, we just need to note that on UnixWare you need to hack the include file
until the fix makes it out into the field.
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [email protected]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749