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

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

From-SVN: r52313
This commit is contained in:
Mark Wielaard 2002-04-15 03:21:58 +00:00 committed by Mark Wielaard
parent 846b514743
commit 8a93a2ec22
3 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -309,6 +309,7 @@ java::net::PlainDatagramSocketImpl::close ()
// the return value.
::close (fnum);
fnum = -1;
timeout = 0;
}
void

View File

@ -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.