Subject: bin/18905: games/tetris/input.c converted to poll() but new code has problems.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <roskens@elfin.net>
List: netbsd-bugs
Date: 11/03/2002 14:38:02
>Number:         18905
>Category:       bin
>Synopsis:       games/tetris/input.c converted to poll() but new code has problems.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 03 12:39:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD-current from 11/2/2002
>Organization:
>Environment:
>Description:
games/tetris/input.c converted to poll() but new code has problems.

1) comments still reference select() even with the conversion to poll().
2) In rwait(), if tvp is NULL, s gets set to NULL, then poll() references s->tv_sec and s->tv_usec.

>How-To-Repeat:
Inspect code.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: