From 51971d6330cc1a1d2d7515887dc55cb120395cd5 Mon Sep 17 00:00:00 2001 From: Nicolas Lalevee Date: Sun, 15 Aug 2010 09:32:28 +0000 Subject: [PATCH] r985632 : actually it is breaking unit test, reverting git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@985640 13f79535-47bb-0310-9956-ffa450edef68 --- WHATSNEW | 4 ---- src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/WHATSNEW b/WHATSNEW index b970db53c..c6c27fc6c 100644 --- a/WHATSNEW +++ b/WHATSNEW @@ -119,10 +119,6 @@ Fixed bugs: s that used the prefix or fullpath attributes. Bugzilla Report 49605. - * If forked, after finished was still reading the input stream - for a bunch of characters, then stealing them from a following . - Bugzilla Report 49119. - Other changes: -------------- diff --git a/src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java b/src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java index 049023194..573f40679 100644 --- a/src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java +++ b/src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java @@ -257,7 +257,7 @@ public class PumpStreamHandler implements ExecuteStreamHandler { /*protected*/ StreamPumper createInputPump(InputStream is, OutputStream os, boolean closeWhenExhausted) { StreamPumper pumper = new StreamPumper(is, os, closeWhenExhausted, - true); + false); pumper.setAutoflush(true); return pumper; }