------- Comment #9 from daney at gcc dot gnu dot org 2005-11-15 19:11 ------- Subject: Bug 15430
Author: daney Date: Tue Nov 15 19:11:53 2005 New Revision: 107036 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107036 Log: 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. Modified: trunk/libjava/ChangeLog trunk/libjava/gnu/java/net/natPlainSocketImplPosix.cc -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15430