diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c index d24ac1c233..475415272a 100644 --- a/src/nvim/fileio.c +++ b/src/nvim/fileio.c @@ -3618,7 +3618,7 @@ bool match_file_list(char *list, char *sfname, char *ffname) // try all patterns in 'wildignore' char *p = list; while (*p) { - char buf[100]; + char buf[MAXPATHL]; copy_option_part(&p, buf, ARRAY_SIZE(buf), ","); char allow_dirs; char *regpat = file_pat_to_reg_pat(buf, NULL, &allow_dirs, false); |