This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH fix thinko in natPosixProcess.cc


I checked this into mainline.
--
	--Per Bothner
per@bothner.com   http://per.bothner.com/

2004-03-01  Per Bothner  <per@bothner.com>

	* java/lang/natPosixProcess.cc (startProcess):  Fix thinko.

Index: java/lang/natPosixProcess.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/lang/natPosixProcess.cc,v
retrieving revision 1.17
diff -u -p -r1.17 natPosixProcess.cc
--- java/lang/natPosixProcess.cc	29 Feb 2004 19:14:20 -0000	1.17
+++ java/lang/natPosixProcess.cc	1 Mar 2004 21:28:00 -0000
@@ -192,7 +192,7 @@ java::lang::ConcreteProcess::startProces
       // 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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]