[PATCH] PR libgcj/15430

David Daney ddaney@avtrex.com
Tue Nov 15 19:14:00 GMT 2005


This is the version I actually committed

2005-15-09  David Daney <ddaney@avtrex.com>

	PR libgcj/15430
	* gnu/java/net/natPlainSocketImplPosix.cc (throw_on_sock_closed): New
	function.
	(accept): Call it.
	(close): Call shutdown before closing.
	(read()): Call read_helper with proper parameters.
	(read(buffer, int, int)): Likewise.
	(read_helper):  Pass pointer to the PlainSocketImpl, remove native_fd
	and timeout parameters.  Make prototype to match. Use
	pointer to PlainSocketImpl to access members. Call throw_on_sock_closed
	in two places.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: psip.d
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20051115/91615a6d/attachment.ksh>


More information about the Java-patches mailing list