* select.cc (socket_cleanup): Shutdown I/O on dummy sockets prior to closing
them.
This commit is contained in:
parent
e219a2bdf0
commit
a7874ee305
@ -1,3 +1,8 @@
|
|||||||
|
Mon Jun 19 20:46:33 2000 Christopher Faylor <cgf@cygnus.com>
|
||||||
|
|
||||||
|
* select.cc (socket_cleanup): Shutdown I/O on dummy sockets prior to
|
||||||
|
closing them.
|
||||||
|
|
||||||
Mon Jun 19 19:35:00 2000 Corinna Vinschen <corinna@vinschen.de>
|
Mon Jun 19 19:35:00 2000 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* dcrt0.cc: Add load statements for `GetSidIdentifierAuthority'
|
* dcrt0.cc: Add load statements for `GetSidIdentifierAuthority'
|
||||||
|
@ -1273,10 +1273,12 @@ socket_cleanup (select_record *, select_stuff *stuff)
|
|||||||
select_printf ("connect failed");
|
select_printf ("connect failed");
|
||||||
/* FIXME: now what? */
|
/* FIXME: now what? */
|
||||||
}
|
}
|
||||||
|
shutdown (s, 2);
|
||||||
closesocket (s);
|
closesocket (s);
|
||||||
|
|
||||||
/* Wait for thread to go away */
|
/* Wait for thread to go away */
|
||||||
WaitForSingleObject (si->thread, INFINITE);
|
WaitForSingleObject (si->thread, INFINITE);
|
||||||
|
shutdown (si->exitsock, 2);
|
||||||
closesocket (si->exitsock);
|
closesocket (si->exitsock);
|
||||||
CloseHandle (si->thread);
|
CloseHandle (si->thread);
|
||||||
stuff->device_specific[FHDEVN(FH_SOCKET)] = NULL;
|
stuff->device_specific[FHDEVN(FH_SOCKET)] = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user