summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--native/jni/native-lib/cpproc.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 544d5c974..5f3c0e7e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2007-04-11 Christian Thalinger <twisti@complang.tuwien.ac.at>
+ * native/jni/native-lib/cpproc.c (cpproc_forkAndExec): Fixed
+ warning on some compilers, e.g. MIPSpro.
+
+2007-04-11 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
* native/jni/java-nio/javanio.c: Include fcntl.h instead of
sys/fcntl.h.
diff --git a/native/jni/native-lib/cpproc.c b/native/jni/native-lib/cpproc.c
index b6e9030b5..bb34f6d6e 100644
--- a/native/jni/native-lib/cpproc.c
+++ b/native/jni/native-lib/cpproc.c
@@ -114,6 +114,10 @@ int cpproc_forkAndExec (char * const *commandLine, char * const * newEnviron,
*out_pid = pid;
return 0;
}
+
+ /* keep compiler happy */
+
+ return 0;
}
int cpproc_waitpid (pid_t pid, int *status, pid_t *outpid, int options)