mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 15:21:47 +00:00
Replace VIM_ISDIGIT() and vim_isdigit() with ascii_isdigit() defined in ascii.h
This commit is contained in:
@@ -2006,7 +2006,7 @@ failed:
|
||||
static int is_dev_fd_file(char_u *fname)
|
||||
{
|
||||
return STRNCMP(fname, "/dev/fd/", 8) == 0
|
||||
&& VIM_ISDIGIT(fname[8])
|
||||
&& ascii_isdigit(fname[8])
|
||||
&& *skipdigits(fname + 9) == NUL
|
||||
&& (fname[9] != NUL
|
||||
|| (fname[8] != '0' && fname[8] != '1' && fname[8] != '2'));
|
||||
|
Reference in New Issue
Block a user