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

corinna@cygwin.com corinna@cygwin.com
Wed Mar 31 09:13:00 GMT 2004


CVSROOT:	/cvs/src
Module name:	src
Changes by:	corinna@sourceware.org	2004-03-31 09:13:54

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

Log message:
	* fhandler_socket.cc (fhandler_socket::recvfrom): Initialize res to
	SOCKET_ERROR.  Use SOCKET_ERROR instead of -1 throughout.
	(fhandler_socket::recvmsg): Ditto.
	(fhandler_socket::sendto): Ditto.
	(fhandler_socket::sendmsg): Ditto.
	* net.cc (wsock_event::prepare): Call WSASetLastError instead of
	SetLastError.
	(wsock_event::wait): Use SOCKET_ERROR instead of -1.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.2386&r2=1.2387
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_socket.cc.diff?cvsroot=src&r1=1.122&r2=1.123
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/net.cc.diff?cvsroot=src&r1=1.163&r2=1.164



More information about the Cygwin-cvs mailing list