isalnum -> IsAlNum for correct handling of signed chars
I spotted this in 7dd7a053a9 and figured I'd fix it here, too. 
If this is not the right thing to do, please lmk so I can undo it in assimp, too. Seems right, though. It's the only spot in gtest where a ctype call was made directly.
			
			
This commit is contained in:
		@@ -654,7 +654,7 @@ class ParameterizedTestSuiteInfo : public ParameterizedTestSuiteInfoBase {
 | 
			
		||||
 | 
			
		||||
    // Check for invalid characters
 | 
			
		||||
    for (std::string::size_type index = 0; index < name.size(); ++index) {
 | 
			
		||||
      if (!isalnum(name[index]) && name[index] != '_')
 | 
			
		||||
      if (!IsAlNum(name[index]) && name[index] != '_')
 | 
			
		||||
        return false;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user