Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-11-06 21:02:56 +0300
committerChristopher Faylor <me@cgf.cx>2001-11-06 21:02:56 +0300
commitd0e406c6539d8c78515d85a253ea4b5365e57f3b (patch)
tree26eef365f858495a0c928109d91285fab101e7f1 /winsup/cygwin/select.cc
parente949606026a282fd780a44cd8d861995498b5920 (diff)
* 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.cc2
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;