diff options
author | Christopher Faylor <me@cgf.cx> | 2001-11-06 18:02:56 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-11-06 18:02:56 +0000 |
commit | d0e406c6539d8c78515d85a253ea4b5365e57f3b (patch) | |
tree | 26eef365f858495a0c928109d91285fab101e7f1 /winsup/cygwin/select.cc | |
parent | e949606026a282fd780a44cd8d861995498b5920 (diff) | |
download | cygnal-d0e406c6539d8c78515d85a253ea4b5365e57f3b.tar.gz cygnal-d0e406c6539d8c78515d85a253ea4b5365e57f3b.tar.bz2 cygnal-d0e406c6539d8c78515d85a253ea4b5365e57f3b.zip |
* select.cc (fhandler_tty_slave::ready_for_read): Correct inverted not_open
test.
Diffstat (limited to 'winsup/cygwin/select.cc')
-rw-r--r-- | winsup/cygwin/select.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; |