summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-11-04 16:19:53 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-11-04 16:19:53 (GMT)
commitc02edd816a16ef46690c98e115fafa0f6331eb0d (patch)
tree334696b7518387ee98ef3ab0cb256e34773afaf8
parent2480a83debf35ce4c76f0a3f0e2b0765bf39337a (diff)
downloadCMake-c02edd816a16ef46690c98e115fafa0f6331eb0d.zip
CMake-c02edd816a16ef46690c98e115fafa0f6331eb0d.tar.gz
CMake-c02edd816a16ef46690c98e115fafa0f6331eb0d.tar.bz2
BUG: fix for bug 323
-rw-r--r--Source/cmCTest.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 2fceb85..9ddc1c9 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -2359,6 +2359,14 @@ int cmCTest::RunMakeCommand(const char* command, std::string* output,
{
if ( output )
{
+ for(int cc =0; cc < length; ++cc)
+ {
+ if(data[cc] == 0)
+ {
+ data[cc] = '\n';
+ }
+ }
+
output->append(data, length);
if ( !verbose )
{