* fhandler.h (fhandler_base::get_r_no_interrupt): Make non-virtual.

* net.cc (fdsock): Call set_r_no_interrupt.
This commit is contained in:
Corinna Vinschen
2002-07-31 13:18:51 +00:00
parent df28dc05d4
commit afcd48e61b
3 changed files with 7 additions and 1 deletions

View File

@ -511,6 +511,7 @@ fdsock (int& fd, const char *name, SOCKET soc)
fhandler_socket *fh = (fhandler_socket *) cygheap->fdtab.build_fhandler (fd, FH_SOCKET, name);
fh->set_io_handle ((HANDLE) soc);
fh->set_flags (O_RDWR | O_BINARY);
fh->set_r_no_interrupt (winsock2_active);
debug_printf ("fd %d, name '%s', soc %p", fd, name, soc);
return fh;
}