cmStrLen: Fix length calculation with embedded NULs
Search for a null terminator instead of blindly going by the length
of the array. Use std::char_traits::length()
if C++17 or later.
Edited by Brad King
Search for a null terminator instead of blindly going by the length
of the array. Use std::char_traits::length()
if C++17 or later.