diff options
author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-01 21:33:28 +0000 |
---|---|---|
committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-01 21:33:28 +0000 |
commit | 5870719c54a2bcb533d16a7778dabf4415f91f90 (patch) | |
tree | 75bc8433dd938f81fa0c34a526c76e83420b1388 /libjava/java | |
parent | 891f08beeee404ccba3d6bca27caa554d1a07c21 (diff) | |
download | ppe42-gcc-5870719c54a2bcb533d16a7778dabf4415f91f90.tar.gz ppe42-gcc-5870719c54a2bcb533d16a7778dabf4415f91f90.zip |
* java/lang/natPosixProcess.cc (startProcess): Fix thinko.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78725 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java')
-rw-r--r-- | libjava/java/lang/natPosixProcess.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/lang/natPosixProcess.cc b/libjava/java/lang/natPosixProcess.cc index 644c0a1ac46..fb97020e9a0 100644 --- a/libjava/java/lang/natPosixProcess.cc +++ b/libjava/java/lang/natPosixProcess.cc @@ -192,7 +192,7 @@ java::lang::ConcreteProcess::startProcess (jstringArray progarray, // with no way to communicate with it. errorStream = new FileInputStream (new FileChannelImpl(errp[0], FileChannelImpl::READ)); inputStream = new FileInputStream (new FileChannelImpl(inp[0], FileChannelImpl::READ)); - outputStream = new FileOutputStream (new FileChannelImpl(outp[0], FileChannelImpl::WRITE)); + outputStream = new FileOutputStream (new FileChannelImpl(outp[1], FileChannelImpl::WRITE)); // We don't use vfork() because that would cause the local // environment to be set by the child. |