Index: fhandler_tty.cc =================================================================== RCS file: /cvs/src/src/winsup/cygwin/fhandler_tty.cc,v retrieving revision 1.113 diff -u -p -r1.113 fhandler_tty.cc --- fhandler_tty.cc 22 Oct 2003 10:07:58 -0000 1.113 +++ fhandler_tty.cc 23 Oct 2003 21:56:45 -0000 @@ -1033,6 +1033,7 @@ fhandler_tty_slave::ioctl (unsigned int break; case FIONBIO: set_nonblocking (*(int *) arg); + get_ttyp ()->ioctl_retval = 0; goto out; default: set_errno (EINVAL);