Subject: kern/6233: wsevent.c need braces to work with egcs
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dante@mclink.it>
List: netbsd-bugs
Date: 10/03/1998 00:47:38
>Number:         6233
>Category:       kern
>Synopsis:       wsevent.c need braces to work with egcs
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Oct  2 16:05:00 1998
>Last-Modified:
>Originator:     Dante Profeta
>Organization:
	noone
>Release:        NetBSD-current 1998/10/02
>Environment:
System: NetBSD theoden.localnet.it 1.3H NetBSD 1.3H (THEODEN) #0: Sun Sep 27 18:39:23 CEST 1998 root@theoden.localnet.it:/usr/local/src/sys/arch/i386/compile/THEODEN i386


>Description:
	egcs complain about missing braces in wsevent.c at line 194
>How-To-Repeat:

>Fix:

in wsevent_poll() function add braces after the following if() statament, as sho
wed below:

        if (events & (POLLIN | POLLRDNORM))
        {
                ...
        }

>Audit-Trail:
>Unformatted: