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

@@ -3257,7 +3257,7 @@ void globpath(char *path, char *file, garray_T *ga, int expand_options, bool dir
copy_option_part(&path, buf, MAXPATHL, ",");
if (strlen(buf) + strlen(file) + 2 < MAXPATHL) {
add_pathsep(buf);
STRCAT(buf, file);
strcat(buf, file);
char **p;
int num_p = 0;