diff options
author | David Daney <ddaney@avtrex.com> | 2005-11-15 19:11:53 +0000 |
---|---|---|
committer | David Daney <daney@gcc.gnu.org> | 2005-11-15 19:11:53 +0000 |
commit | 5e6ff6bda38f8d92ef1522b45cdd78c90557ae1b (patch) | |
tree | b24e7f59a4d050f706a76e11e684d9f172e30439 /libjava/classpath/javax/print/attribute | |
parent | 7735d402c405f05343b3ea732426eb5ca4b43b6a (diff) | |
download | gcc-5e6ff6bda38f8d92ef1522b45cdd78c90557ae1b.zip gcc-5e6ff6bda38f8d92ef1522b45cdd78c90557ae1b.tar.gz gcc-5e6ff6bda38f8d92ef1522b45cdd78c90557ae1b.tar.bz2 |
re PR libgcj/15430 (Cannot interrupt blocking I/O calls with close())
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.
From-SVN: r107036
Diffstat (limited to 'libjava/classpath/javax/print/attribute')
0 files changed, 0 insertions, 0 deletions