* select.cc (fhandler_tty_slave::ready_for_read): Correct inverted not_open
test.
This commit is contained in:
		| @@ -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> | 2001-11-05  Christopher Faylor  <cgf@redhat.com> | ||||||
|  |  | ||||||
| 	* include/cygwin/version.h: Bump version to 1.3.5. | 	* 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) | fhandler_tty_slave::ready_for_read (int fd, DWORD howlong) | ||||||
| { | { | ||||||
|   HANDLE w4[2]; |   HANDLE w4[2]; | ||||||
|   if (!cygheap->fdtab.not_open (fd)) |   if (cygheap->fdtab.not_open (fd)) | ||||||
|     { |     { | ||||||
|       set_errno (EBADF); |       set_errno (EBADF); | ||||||
|       return 1; |       return 1; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user