* java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
`1'.
From-SVN: r50081
+2002-02-26 Tom Tromey <tromey@redhat.com>
+
+ * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
+ `1'.
+
2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
myclose (msgp[0]);
cleanup (args, env);
- fcntl (outp[1], F_SETFD, 1);
- fcntl (inp[0], F_SETFD, 1);
- fcntl (errp[0], F_SETFD, 1);
+ fcntl (outp[1], F_SETFD, FD_CLOEXEC);
+ fcntl (inp[0], F_SETFD, FD_CLOEXEC);
+ fcntl (errp[0], F_SETFD, FD_CLOEXEC);
}