mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 17:36:29 +00:00

committed by
Justin M. Keyes

parent
86c4a87fe9
commit
001e69cd46
@@ -412,7 +412,7 @@ int mch_expand_wildcards(int num_pat, char_u **pat, int *num_file,
|
||||
fseek(fd, 0L, SEEK_SET);
|
||||
buffer = xmalloc(len + 1);
|
||||
// fread() doesn't terminate buffer with NUL;
|
||||
// appropiate termination (not always NUL) is done below.
|
||||
// appropriate termination (not always NUL) is done below.
|
||||
size_t readlen = fread((char *)buffer, 1, len, fd);
|
||||
fclose(fd);
|
||||
os_remove((char *)tempname);
|
||||
|
Reference in New Issue
Block a user