* select.cc (fhandler_tty_slave::ready_for_read): Correct inverted not_open

test.
This commit is contained in:
Christopher Faylor 2001-11-06 18:02:56 +00:00
parent e949606026
commit d0e406c653
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-11-06 Christopher Faylor <cgf@redhat.com>
* select.cc (fhandler_tty_slave::ready_for_read): Correct inverted
not_open test.
2001-11-05 Christopher Faylor <cgf@redhat.com>
* include/cygwin/version.h: Bump version to 1.3.5.

View File

@ -778,7 +778,7 @@ int
fhandler_tty_slave::ready_for_read (int fd, DWORD howlong)
{
HANDLE w4[2];
if (!cygheap->fdtab.not_open (fd))
if (cygheap->fdtab.not_open (fd))
{
set_errno (EBADF);
return 1;