* 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

@@ -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;