Browse Source

Fix for bug 48746, "exec task sometimes inserts extraneous newlines"

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@912298 13f79535-47bb-0310-9956-ffa450edef68
master
Antoine Levy-Lambert 15 years ago
parent
commit
ef2d463932
2 changed files with 5 additions and 2 deletions
  1. +4
    -1
      WHATSNEW
  2. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java

+ 4
- 1
WHATSNEW View File

@@ -31,7 +31,10 @@ Fixed bugs:
equaled its capacity.
* Regression : ant -diagnostics was returning with exit code 1
Bugzilla Report 48782
Bugzilla Report 48782
* Fix for exec task sometimes inserts extraneous newlines
Bugzilla Report 48746

Other changes:
--------------


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java View File

@@ -238,7 +238,7 @@ public class PumpStreamHandler implements ExecuteStreamHandler {
final Thread result
= new ThreadWithPumper(new StreamPumper(is, os,
closeWhenExhausted,
Os.isFamily("windows")));
true));
result.setDaemon(true);
return result;
}


Loading…
Cancel
Save