mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 21:48:35 +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:
@@ -409,7 +409,7 @@ int do_in_path(const char *path, const char *prefix, char *name, int flags,
|
||||
did_one = true;
|
||||
} else if (buflen + 2 + strlen(prefix) + strlen(name) < MAXPATHL) {
|
||||
add_pathsep(buf);
|
||||
STRCAT(buf, prefix);
|
||||
strcat(buf, prefix);
|
||||
tail = buf + strlen(buf);
|
||||
|
||||
// Loop over all patterns in "name"
|
||||
|
Reference in New Issue
Block a user