Subject: misc/9901: select() does not work with _XOPEN_SOURCE
To: None <gnats-bugs@gnats.netbsd.org>
From: None <root@ihack.net>
List: netbsd-bugs
Date: 04/16/2000 08:47:11
>Number: 9901
>Category: misc
>Synopsis: select() does not work with _XOPEN_SOURCE
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: misc-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Apr 16 08:48:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Charles M. Hannum
>Release: -current as of 12APR2000
>Organization:
Internetwork Hacker
>Environment:
n/a
>Description:
The conditions for inclusion of the fd_set typedef and the select()
prototype are not the same. This causes a program compiled with
`#define _XOPEN_SOURCE 500L' -- which should pull in a select()
prototype and allow it to be used -- to not compile.
>How-To-Repeat:
#define _XOPEN_SOURCE 500L
#include <unistd.h>
>Fix:
Not provided.
>Release-Note:
>Audit-Trail:
>Unformatted: