aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/lang/natPosixProcess.cc
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>2004-03-01 13:33:28 -0800
committerPer Bothner <bothner@gcc.gnu.org>2004-03-01 13:33:28 -0800
commitdd341087ac154ef724ba8e6c9b41c6aeb1467cc0 (patch)
tree75bc8433dd938f81fa0c34a526c76e83420b1388 /libjava/java/lang/natPosixProcess.cc
parent1c09c5e5c4e5fdca13833965175fd782c6f40d72 (diff)
downloadgcc-dd341087ac154ef724ba8e6c9b41c6aeb1467cc0.zip
gcc-dd341087ac154ef724ba8e6c9b41c6aeb1467cc0.tar.gz
gcc-dd341087ac154ef724ba8e6c9b41c6aeb1467cc0.tar.bz2
* java/lang/natPosixProcess.cc (startProcess): Fix thinko.
From-SVN: r78725
Diffstat (limited to 'libjava/java/lang/natPosixProcess.cc')
-rw-r--r--libjava/java/lang/natPosixProcess.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/lang/natPosixProcess.cc b/libjava/java/lang/natPosixProcess.cc
index 644c0a1..fb97020 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.