From f9185e64f3cbe401e0f2953951c4209abd409b40 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Mon, 8 Jan 2024 16:09:21 -0500 Subject: mark as not signal-safe --- src/ctype/iscntrl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ctype/iscntrl.c') diff --git a/src/ctype/iscntrl.c b/src/ctype/iscntrl.c index 83c52e1c..454da1b6 100644 --- a/src/ctype/iscntrl.c +++ b/src/ctype/iscntrl.c @@ -8,6 +8,7 @@ int iscntrl(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_CNTRL; -- cgit v1.2.1