From dd341087ac154ef724ba8e6c9b41c6aeb1467cc0 Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Mon, 1 Mar 2004 13:33:28 -0800 Subject: * java/lang/natPosixProcess.cc (startProcess): Fix thinko. From-SVN: r78725 --- libjava/java/lang/natPosixProcess.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libjava/java/lang/natPosixProcess.cc') 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. -- cgit v1.1