diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-10-16 11:49:32 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-10-16 11:49:32 (GMT) |
commit | 2ff23530792aa649d5a5a279b55f0547f5beba0d (patch) | |
tree | c5187f8e696956ba002fc17e7c862d0fa164f94c | |
parent | db3cd8259068f09c53dad3a2e81c1b78ba7683eb (diff) | |
download | CMake-2ff23530792aa649d5a5a279b55f0547f5beba0d.zip CMake-2ff23530792aa649d5a5a279b55f0547f5beba0d.tar.gz CMake-2ff23530792aa649d5a5a279b55f0547f5beba0d.tar.bz2 |
ENH: Handle all white spaces, fix problem on cygwin
-rw-r--r-- | Source/cmCTest.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index e36d295..b59be0c 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(); |