Patch: close-on-exec files

Adam Megacz patches@lists.megacz.com
Sun Mar 10 18:28:00 GMT 2002


Tom Tromey <tromey@redhat.com> writes:
> Ok.  I've made a new _Jv_platform function which sets a file
> descriptor to be close-on-exec.  For POSIX it calls fcntl, for Win32
> it does nothing.

You forgot this.

Committed to branch and trunk.

  - a

2002-03-10  Adam Megacz <adam@xwt.org>

        * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.


Index: natPlainSocketImpl.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/net/natPlainSocketImpl.cc,v
retrieving revision 1.30.2.4
diff -u -r1.30.2.4 natPlainSocketImpl.cc
--- natPlainSocketImpl.cc       2002/03/10 18:00:06     1.30.2.4
+++ natPlainSocketImpl.cc       2002/03/11 01:27:57
@@ -7,7 +7,7 @@
 details.  */
 
 #include <config.h>
-
+#include <platform.h>
 
 #ifndef DISABLE_JAVA_NET
 #ifdef WIN32



More information about the Java-patches mailing list