mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 23:00:07 -06:00
Merge branch 'create_test_sourcelist-strcpy' into release-3.11
Merge-request: !2115
This commit is contained in:
@@ -48,7 +48,7 @@ static char* lowercase(const char* string)
|
||||
if (new_string == NULL) { /* NOLINT */
|
||||
return NULL; /* NOLINT */
|
||||
}
|
||||
strncpy(new_string, string, stringSize);
|
||||
strcpy(new_string, string);
|
||||
for (p = new_string; *p != 0; ++p) {
|
||||
*p = CM_CAST(char, tolower(*p));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user