Merge pull request #29278 from bfredl/strcat

refactor(memory): use builtin strcat() instead of STRCAT()
This commit is contained in:
bfredl
2024-06-11 19:21:50 +02:00
committed by GitHub
29 changed files with 79 additions and 81 deletions

View File

@@ -4992,7 +4992,7 @@ static int get_id_list(char **const arg, const int keylen, int16_t **const list,
} else {
// Handle match of regexp with group names.
*name = '^';
STRCAT(name, "$");
strcat(name, "$");
regmatch.regprog = vim_regcomp(name, RE_MAGIC);
if (regmatch.regprog == NULL) {
failed = true;