From ccfd2df5248f621f43923c7b21499a3d0d87c90f Mon Sep 17 00:00:00 2001 From: darius42 Date: Thu, 10 Jul 2008 22:49:47 +0000 Subject: Fix for bug 2015469 - Modified CaptureStreamHandler so that it spawns threads to read from stdout and stderr simultaneously. This should prevent deadlocks if no data is available on stderr, but stdout has filled it's buffer. git-svn-id: file:///home/sven/projects/JOGL/temp/ant-contrib/svn/ant-contrib-code/cpptasks/trunk@172 32d7a393-a5a9-423c-abd3-5d954feb1f2f --- src/main/java/net/sf/antcontrib/cpptasks/CUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/net/sf/antcontrib/cpptasks/CUtil.java') diff --git a/src/main/java/net/sf/antcontrib/cpptasks/CUtil.java b/src/main/java/net/sf/antcontrib/cpptasks/CUtil.java index 482593e..29e9d22 100644 --- a/src/main/java/net/sf/antcontrib/cpptasks/CUtil.java +++ b/src/main/java/net/sf/antcontrib/cpptasks/CUtil.java @@ -367,7 +367,7 @@ public class CUtil { } } /** - * Compares the contents of 2 arrays for equaliy. + * Compares the contents of 2 arrays for equality. */ public static boolean sameList(Object[] a, Object[] b) { if (a == null || b == null || a.length != b.length) { -- cgit v1.2.3