mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-29 05:21:00 +01:00
34636: replace broken isprint() on Mac OS X
This commit is contained in:
parent
0ac87e3f59
commit
4bc554bb8b
6 changed files with 63 additions and 3 deletions
|
|
@ -3622,7 +3622,7 @@ patmatchrange(char *range, int ch, int *indptr, int *mtp)
|
|||
return 1;
|
||||
break;
|
||||
case PP_PRINT:
|
||||
if (isprint(ch))
|
||||
if (ISPRINT(ch))
|
||||
return 1;
|
||||
break;
|
||||
case PP_PUNCT:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue