This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: close-on-exec files
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