From 2ff23530792aa649d5a5a279b55f0547f5beba0d Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Thu, 16 Oct 2003 07:49:32 -0400 Subject: [PATCH] ENH: Handle all white spaces, fix problem on cygwin --- Source/cmCTest.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index e36d29525..b59be0ccc 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -66,8 +66,8 @@ static struct tm* GetNightlyTime(std::string str) static std::string CleanString(std::string str) { - std::string::size_type spos = str.find_first_not_of(" \n\t"); - std::string::size_type epos = str.find_last_not_of(" \n\t"); + std::string::size_type spos = str.find_first_not_of(" \n\t\r\f\v"); + std::string::size_type epos = str.find_last_not_of(" \n\t\r\f\v"); if ( spos == str.npos ) { return std::string();