1
0
Fork 0
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:
Jun-ichi Takimoto 2015-03-05 01:48:34 +09:00
parent 0ac87e3f59
commit 4bc554bb8b
6 changed files with 63 additions and 3 deletions

View file

@ -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: