src/winsup/cygwin ChangeLog fhandler.h fhandle ...
Thu Aug 13 10:26:00 GMT 2009

CVSROOT:	/cvs/src
Module name:	src
Changes by:	2009-08-13 10:26:42

Modified files:
	winsup/cygwin  : ChangeLog fhandler.h 

Log message:
	* fhandler.h (class fhandler_socket): Add peer_sun_path member.
	(fhandler_socket::set_peer_sun_path): New method.
	(fhandler_socket::get_peer_sun_path): New method.
	* (fhandler_socket::fhandler_socket): Initialize
	peer_sun_path to NULL.
	(fhandler_socket::~fhandler_socket): Free peer_sun_path if necessary.
	(fhandler_socket::dup): Duplicate peer_sun_path.
	(fhandler_socket::accept): Ditto.  Return fake unbound peer content
	and len in case of AF_LOCAL sockets.
	(fhandler_socket::getsockname): Always use local sockaddr_storage to
	store socket address and copy over to incoming address.  Handle every
	namelen correctly per POSIX.
	(fhandler_socket::getpeername): Ditto.  Add code path to return
	correct value for AF_LOCAL sockets.
	(fhandler_socket::set_peer_sun_path): New method.
	* (socketpair): Set peer_sun_path to empty string, just like


More information about the Cygwin-cvs mailing list