mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-25 05:10:28 +02:00
Changed some isdigit() calls to use idigit().
This commit is contained in:
parent
dbac6846fa
commit
53d663f543
2 changed files with 7 additions and 8 deletions
|
|
@ -42,7 +42,7 @@ handle_digits(char *nam, char *argptr, fd_set *fdset, int *fdmax)
|
|||
int fd;
|
||||
char *endptr;
|
||||
|
||||
if (!isdigit(STOUC(*argptr))) {
|
||||
if (!idigit(*argptr)) {
|
||||
zwarnnam(nam, "expecting file descriptor: %s", argptr, 0);
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue