diff options
author | darius42 <[email protected]> | 2008-07-10 22:49:47 +0000 |
---|---|---|
committer | darius42 <[email protected]> | 2008-07-10 22:49:47 +0000 |
commit | ccfd2df5248f621f43923c7b21499a3d0d87c90f (patch) | |
tree | f85c9f7a577495ae44934637b36030a3f4fc59d8 /src/main/java/net/sf/antcontrib/cpptasks/CUtil.java | |
parent | 6024f3a786a83a257b3505b1ba3dd51be1cbf033 (diff) |
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
Diffstat (limited to 'src/main/java/net/sf/antcontrib/cpptasks/CUtil.java')
-rw-r--r-- | src/main/java/net/sf/antcontrib/cpptasks/CUtil.java | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |