summaryrefslogtreecommitdiff
path: root/src/ctype/isprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctype/isprint.c')
-rw-r--r--src/ctype/isprint.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ctype/isprint.c b/src/ctype/isprint.c
index b0aa2121..297bdc31 100644
--- a/src/ctype/isprint.c
+++ b/src/ctype/isprint.c
@@ -8,6 +8,7 @@ int isprint(int c)
{
unsigned int *map = __get_locale()->lc_ctype.ctattr;
+ SIGNAL_SAFE(0);
ASSERT_REPRESENTABLE(c, 0, UCHAR_MAX, unsigned char, EOF);
return c == EOF ? 0 : map[c] & CT_PRINT;