src/winsup/cygwin ChangeLog fhandler_socket.cc ...

corinna@cygwin.com corinna@cygwin.com
Mon Apr 18 11:44:00 GMT 2011


CVSROOT:	/cvs/src
Module name:	src
Changes by:	corinna@sourceware.org	2011-04-18 11:44:17

Modified files:
	winsup/cygwin  : ChangeLog fhandler_socket.cc poll.cc 

Log message:
	* fhandler_socket.cc (fhandler_socket::evaluate_events): Handle the
	FD_CLOSE event specially when called from accept.  Explain why.
	(fhandler_socket::shutdown): Fake success on not-connected socket and
	trigger socket event if the read side of a socket is affected.  Explain
	why.
	* poll.cc (poll): Check for saw_shutdown_read on sockets to generate
	POLLHUP as well.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.5246&r2=1.5247
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_socket.cc.diff?cvsroot=src&r1=1.271&r2=1.272
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/poll.cc.diff?cvsroot=src&r1=1.51&r2=1.52



More information about the Cygwin-cvs mailing list