summaryrefslogtreecommitdiff
path: root/native/jni/native-lib/cpproc.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert the return on chdir == -1.Andrew John Hughes2009-02-041-2/+1
| | | | | | | | | 2009-02-04 Andrew John Hughes <ahughes@redhat.com> * native/jni/native-lib/cpproc.c: (cpproc_forkAndExec): Don't return on a -1 result from chdir as this may be valid in some cases. A better fix is needed.
* Fix build errors on gcc 4.3.3 with -Werror.Andrew John Hughes2009-02-041-1/+3
| | | | | | | | 2009-02-03 Andrew John Hughes <ahughes@redhat.com> * native/jni/native-lib/cpproc.c: (cpproc_forkAndExec): Handle return of chdir.
* 2007-04-11 Christian Thalinger <twisti@complang.tuwien.ac.at>Christian Thalinger2007-04-111-0/+4
| | | | | * native/jni/native-lib/cpproc.c (cpproc_forkAndExec): Fixed warning on some compilers, e.g. MIPSpro.
* 2006-09-05 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-09-051-6/+11
| | | | | | | | | | | | * native/jni/native-lib/cpprocess.c: (forkAndExec(char*,char*,int,int,pid_t,char*)): Add redirection of stdout to stderr. * native/jni/native-lib/cpprocess.h: Added redirect argument. * native/jni/java-lang/java_lang_VMProcess.c (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument. * vm/reference/java/lang/VMProcess.java: Likewise. * include/java_lang_VMProcess.h: Regenerated.
* Merge NATIVE_LAYER branch.Mark Wielaard2006-08-211-0/+131