bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in _nc_timed_wait ncurses 5.7


From: Thomas Dickey
Subject: Re: bug in _nc_timed_wait ncurses 5.7
Date: Mon, 6 Apr 2009 16:07:21 -0400 (EDT)

On Mon, 6 Apr 2009, David Grothe wrote:

In file ncurses/tty/lib_twait.c line 251 '&' is used without proper ()-s.

                  if (fds[c].fd == ev->data.fev.fd
                      && fds[c].revents & POLLIN) {

I see that it builds without warnings in one of my weekly build-logs.

(the build is using poll in the current log, though occasionally the configure check decides to use select...)

Is gcc not warning when it should?


Question: Is there documentation somewhere for wgetch_events() and its event list parameter?

There's a file in the sources: ncurses/README.IZ

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]