From a21a407c7e76651b66e1579e96633804668848fd Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Tue, 6 Nov 2001 18:09:42 +0000 Subject: * select.cc (fhandler_tty_slave::ready_for_read): Correct inverted not_open test. --- winsup/cygwin/select.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/cygwin/select.cc b/winsup/cygwin/select.cc index 7b3fc32..5058272 100644 --- a/winsup/cygwin/select.cc +++ b/winsup/cygwin/select.cc @@ -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; -- cgit v1.1