diff options
author | daney <daney@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-23 00:06:41 +0000 |
---|---|---|
committer | daney <daney@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-23 00:06:41 +0000 |
commit | 7c660b5b54deced6ef16faacec97acccc14f27f9 (patch) | |
tree | c1ef9bb4fb3b4432ae7bce87707fc879e3e8af77 /libjava/include/config.h.in | |
parent | 64214dabd303be6b1134238ee99d05be78e83ff8 (diff) | |
download | ppe42-gcc-7c660b5b54deced6ef16faacec97acccc14f27f9.tar.gz ppe42-gcc-7c660b5b54deced6ef16faacec97acccc14f27f9.zip |
PR libgcj/31228
* configure.ac: Add checks for getrlimit and sys/resource.h.
* include/posix.h (_Jv_platform_close_on_exec): Remove.
* include/config.h.in: Regenerate.
* configure: Regenerate.
* gnu/java/nio/channels/natFileChannelPosix.cc (open): Remove call to
_Jv_platform_close_on_exec;
* gnu/java/net/natPlainSocketImplPosix.cc (create): Likewise.
(accept): Likewise.
* gnu/java/net/natPlainDatagramSocketImplPosix.cc (create):Likewise.
* java/lang/natPosixProcess.cc: Include sys/resource.h.
(nativeSpawn): Close all file descriptors. Don't set FD_CLOEXEC on
pipes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123138 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include/config.h.in')
-rw-r--r-- | libjava/include/config.h.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libjava/include/config.h.in b/libjava/include/config.h.in index 2c025a27af5..f0919e2673c 100644 --- a/libjava/include/config.h.in +++ b/libjava/include/config.h.in @@ -127,6 +127,9 @@ /* Define to 1 if you have the `getpwuid_r' function. */ #undef HAVE_GETPWUID_R +/* Define to 1 if you have the `getrlimit' function. */ +#undef HAVE_GETRLIMIT + /* Define to 1 if you have the `gettimeofday' function. */ #undef HAVE_GETTIMEOFDAY @@ -316,6 +319,9 @@ /* Define to 1 if you have the <sys/ioctl.h> header file. */ #undef HAVE_SYS_IOCTL_H +/* Define to 1 if you have the <sys/resource.h> header file. */ +#undef HAVE_SYS_RESOURCE_H + /* Define to 1 if you have the <sys/rw_lock.h> header file. */ #undef HAVE_SYS_RW_LOCK_H |