Fix LEGAL_GRADE determination, isalnum can return true when national

environment is active
This commit is contained in:
Andrey A. Chernov 1995-08-19 22:08:38 +00:00
parent 6ec4b3339b
commit 2bcf7e034b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=10111

View File

@ -563,7 +563,7 @@ struct uuconf_dialer
#define UUCONF_GRADE_LOW ('z')
/* Whether a character is a legal grade (requires <ctype.h>). */
#define UUCONF_GRADE_LEGAL(b) (isalnum ((unsigned) (b)))
#define UUCONF_GRADE_LEGAL(b) (isascii (BUCHAR (b)) && isalnum (BUCHAR (b)))
/* Return < 0 if the first grade should be done before the second
grade, == 0 if they are the same, or > 0 if the first grade should