diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2003-11-04 16:19:53 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2003-11-04 16:19:53 (GMT) |
commit | c02edd816a16ef46690c98e115fafa0f6331eb0d (patch) | |
tree | 334696b7518387ee98ef3ab0cb256e34773afaf8 | |
parent | 2480a83debf35ce4c76f0a3f0e2b0765bf39337a (diff) | |
download | CMake-c02edd816a16ef46690c98e115fafa0f6331eb0d.zip CMake-c02edd816a16ef46690c98e115fafa0f6331eb0d.tar.gz CMake-c02edd816a16ef46690c98e115fafa0f6331eb0d.tar.bz2 |
BUG: fix for bug 323
-rw-r--r-- | Source/cmCTest.cxx | 8 |
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 ) { |