BUG: fix for bug 323

This commit is contained in:
Bill Hoffman 2003-11-04 11:19:53 -05:00
parent 2480a83deb
commit c02edd816a
1 changed files with 8 additions and 0 deletions

View File

@ -2359,6 +2359,14 @@ int cmCTest::RunMakeCommand(const char* command, std::string* output,
{ {
if ( output ) if ( output )
{ {
for(int cc =0; cc < length; ++cc)
{
if(data[cc] == 0)
{
data[cc] = '\n';
}
}
output->append(data, length); output->append(data, length);
if ( !verbose ) if ( !verbose )
{ {