mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 17:12:46 +00:00
Fix LEGAL_GRADE determination, isalnum can return true when national
environment is active
This commit is contained in:
parent
6ec4b3339b
commit
2bcf7e034b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=10111
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user