accept() failed message on kde 1.1.2 ??

egor duda
Mon Jun 18 09:58:00 GMT 2001


ed> i'd try to figure out some way to fix it.

i think this patch will do. i still have some reservations about
non-blocking sockets, but it should definitely help with XFree problems
Ralf and Robert reported. Please give it a try and tell if it helps.

Egor.   ICQ 5165414 FidoNet 2:5020/496.19

-------------- next part --------------
2001-06-18  Egor Duda  <>

	* (fhandler_socket::signal_secret_event): New
	* fhandler.h: Declare it.
	* (fhandler_socket::create_secret_event): Don't
	signal secret event immediately.
	(fhandler_socket::check_peer_secret_event): Do it after peer event
	was opened.
	* (cygwin_connect): Or if socket is non-blocking.
	(cygwin_accept): Ditto.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: af_unix-socket-security-race-fix.diff
Type: text/x-diff
Size: 3695 bytes
Desc: not available
URL: <>

More information about the Cygwin-patches mailing list