From owner-freebsd-hackers Sat Apr 29 9:12:26 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from sharmas.dhs.org (c62443-a.frmt1.sfba.home.com [24.0.69.165]) by hub.freebsd.org (Postfix) with ESMTP id 120BE37B6CB for ; Sat, 29 Apr 2000 09:12:23 -0700 (PDT) (envelope-from adsharma@sharmas.dhs.org) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id JAA06851; Sat, 29 Apr 2000 09:11:53 -0700 Date: Sat, 29 Apr 2000 09:11:53 -0700 From: Arun Sharma To: Jeroen Ruigrok/Asmodai Cc: freebsd-hackers@freebsd.org Subject: Re: Fwd: socket.h and _POSIX_SOURCE Message-ID: <20000429091153.A6758@sharmas.dhs.org> References: <200004201604.JAA10995@sharmas.dhs.org> <20000424163942.E1842@daemon.ninth-circle.org> <20000425090106.A9742@sharmas.dhs.org> <20000429125257.N1842@daemon.ninth-circle.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <20000429125257.N1842@daemon.ninth-circle.org>; from Jeroen Ruigrok/Asmodai on Sat, Apr 29, 2000 at 12:52:57PM +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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