diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1999-12-28 11:48:23 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1999-12-28 11:48:23 +0000 |
| commit | 317b1ddf876c7274965ef74f63fb6ed6438f32ec (patch) | |
| tree | fee603ec0ad61a6d1fee2bcbeba159c6553b9f44 /lib/libstand | |
| parent | 9abf30435bf2380a875180dd87b8e7b23aaff9bf (diff) | |
Notes
Diffstat (limited to 'lib/libstand')
| -rw-r--r-- | lib/libstand/stand.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libstand/stand.h b/lib/libstand/stand.h index 08b1d9d072ae..7115603fc7ac 100644 --- a/lib/libstand/stand.h +++ b/lib/libstand/stand.h @@ -165,7 +165,7 @@ extern struct open_file files[]; #define isspace(c) ((c) == ' ' || ((c) >= 0x9 && (c) <= 0xd)) #define isdigit(c) ((c) >= '0' && (c) <= '9') #define isxdigit(c) (isdigit(c) || ((c) >= 'a' && (c) <= 'f') || ((c) >= 'A' && (c) <= 'F')) -#define isascii(c) (((unsigned char)c) <= 0x7f) +#define isascii(c) (((c) & ~0x7F) == 0) #define isalpha(c) (isupper(c) || (islower(c))) static __inline int toupper(int c) |
