NetBSD Problem Report #9901
Received: (qmail 27378 invoked from network); 16 Apr 2000 15:47:23 -0000
Message-Id: <200004161546.LAA10710@lop-nor.ihack.net>
Date: Sun, 16 Apr 2000 11:46:11 -0400 (EDT)
From: root@ihack.net
Reply-To: root@ihack.net
To: gnats-bugs@gnats.netbsd.org
Subject: select() does not work with _XOPEN_SOURCE
X-Send-Pr-Version: 3.95
>Number: 9901
>Category: misc
>Synopsis: select() does not work with _XOPEN_SOURCE
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: misc-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Apr 16 15:48:00 +0000 2000
>Closed-Date: Sun Apr 16 23:12:57 +0000 2000
>Last-Modified: Sun Apr 16 23:12:57 +0000 2000
>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:
State-Changed-From-To: open->closed
State-Changed-By: christos
State-Changed-When: Sun Apr 16 19:12:43 EDT 2000
State-Changed-Why:
Fixed, thanks
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.