Commit 8be46a7d by Mark Wielaard Committed by Mark Wielaard

natPlainDatagramSocketImpl.cc (close): Set timeout to 0.

        * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
        * java/net/natSocketImpl.cc (close): Likewise.

From-SVN: r52312
parent ad8849af
2002-04-14 Mark Wielaard <mark@klomp.org>
* java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
* java/net/natSocketImpl.cc (close): Likewise.
2002-04-14 Mark Wielaard <mark@klomp.org>
* gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
2002-04-13 Adam King <aking@dreammechanics.com>
......
......@@ -309,6 +309,7 @@ java::net::PlainDatagramSocketImpl::close ()
// the return value.
::close (fnum);
fnum = -1;
timeout = 0;
}
void
......
......@@ -428,6 +428,7 @@ java::net::PlainSocketImpl::close()
}
// Safe place to reset the file pointer.
fnum = -1;
timeout = 0;
}
// Write a byte to the socket.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment