Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Apr 2000 09:11:53 -0700
From:      Arun Sharma <adsharma@sharmas.dhs.org>
To:        Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Fwd: socket.h and _POSIX_SOURCE
Message-ID:  <20000429091153.A6758@sharmas.dhs.org>
In-Reply-To: <20000429125257.N1842@daemon.ninth-circle.org>; from Jeroen Ruigrok/Asmodai on Sat, Apr 29, 2000 at 12:52:57PM %2B0200
References:  <200004201604.JAA10995@sharmas.dhs.org> <20000424163942.E1842@daemon.ninth-circle.org> <20000425090106.A9742@sharmas.dhs.org> <20000429125257.N1842@daemon.ninth-circle.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 29, 2000 at 12:52:57PM +0200, Jeroen Ruigrok/Asmodai wrote:
> -On [20000425 20:08], Arun Sharma (adsharma@sharmas.dhs.org) wrote:
> >Would it be fair to say this is a (POSIX non-compliance) bug in the
> >header files ?
> 
> As Bruce Evans was kind enough to reassure me:
> 
> sys/socket.h is not a POSIX header.
> 
> 'nuff said I guess.

I don't have access to the POSIX specification - so I can't check. But
single unix (a superset of POSIX) includes sys/socket.h:

http://www.opengroup.org/onlinepubs/007908799/xnsix.html

Also, there is a lot of source code out there (I know at least two examples
from KDE sources) where they are including <sys/socket.h> and doing
-D_POSIX_SOURCE. Both Solaris and Linux handle the above situation
correctly. Are there any significant reasons why FreeBSD can't have the
same behavior ? Or are you applying the "don't fix it if it isn't broken"
principle ?

	-Arun



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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