Skip to content
Snippets Groups Projects
Commit 100946f9 authored by daney's avatar daney
Browse files

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.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107036 138bc75d-0d04-0410-961f-82ee72b054a4
parent e3fc4282
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment