mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 01:46:29 +00:00
refactor(memory): use builtin strcat() instead of STRCAT()
The latter was mostly relevant with the past char_u madness. NOTE: STRCAT also functioned as a counterfeit "NOLINT" for clint apparently. But NOLINT-ing every usecase is just the same as disabling the check entirely.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user