* select.cc (fhandler_tty_slave::ready_for_read): Correct inverted not_open
test.
This commit is contained in:
parent
e949606026
commit
d0e406c653
@ -1,3 +1,8 @@
|
||||
2001-11-06 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* select.cc (fhandler_tty_slave::ready_for_read): Correct inverted
|
||||
not_open test.
|
||||
|
||||
2001-11-05 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* include/cygwin/version.h: Bump version to 1.3.5.
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user