From d0e406c6539d8c78515d85a253ea4b5365e57f3b Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Tue, 6 Nov 2001 18:02:56 +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(-) (limited to 'winsup/cygwin/select.cc') diff --git a/winsup/cygwin/select.cc b/winsup/cygwin/select.cc index 7b3fc32a4..50582727d 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.2.3