libbb: robustify isXXXX(). +39 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2009-11-18 11:34:43 +01:00
parent 5b0a7f1a6e
commit 8684cbb5cc
9 changed files with 28 additions and 25 deletions

View File

@@ -30,9 +30,9 @@
#if ENABLE_LOCALE_SUPPORT
#if ENABLE_FEATURE_VI_8BIT
#define Isprint(c) isprint(c)
# define Isprint(c) isprint(c)
#else
#define Isprint(c) (isprint(c) && (unsigned char)(c) < 0x7f)
# define Isprint(c) (isprint(c) && (unsigned char)(c) < 0x7f)
#endif
#else