This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] [MinGW] [4.0] FYI: Fix Socket read returns EOF when count== 0...


Mohan Embar wrote:
Hi People,


David> 2005-03-14  David Daney  <ddaney@avtrex.com>
David> 	* gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
David> 	count == 0 case.

David> O.K to commit to HEAD?
David> How about the 4.0 branch for good measure?



Tom> Yes to both. Thanks.

Tom> FWIW I think the Win32 code needs this as well.

The following patch didn't seem to harm anything on the
4.0 branch, so I assumed that Tom's and Bryce's approval
of David's POSIX version constituted approval for the Win32
version of this as well and checked it in.

(The only reason I put my name first is so people wouldn't
bug David concerning this.)

-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/

2005-03-22  Mohan Embar  <gnustuff@thisiscool.com>
	    David Daney  <ddaney@avtrex.com>

	* gnu/java/net/natPlainSocketImplWin32.cc (read): Handle
	count == 0 case.


You should probably also mark:


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20486

As fixed.

David Daney


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]