ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48746] exec task sometimes inserts extraneous newlines
Date Wed, 26 May 2010 22:13:16 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48746

--- Comment #8 from Jesse Glick <jglick@netbeans.org> 2010-05-26 18:13:09 EDT ---
Oddly enough, the bug in the test case is reproducible in XP in 1.8.1 (not in
1.8.0). This fixes it for both Linux and XP:

Index: src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java
===================================================================
--- src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java    (revision
948598)
+++ src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java    (working
copy)
@@ -244,7 +244,7 @@
         final Thread result
             = new ThreadWithPumper(new StreamPumper(is, os,
                                                     closeWhenExhausted,
-                                                    true));
+                                                    false));
         result.setDaemon(true);
         return result;
     }

But I have not yet checked the effect on the test cases from bug #5003.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message