diff options
| author | Jakob Kaivo <jkk@ung.org> | 2024-06-03 13:56:25 -0400 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2024-06-03 13:56:25 -0400 |
| commit | a686d047d79bdfc37c096a4fa350c37e4ccf3cf5 (patch) | |
| tree | ca631b9095454a239211b6f676bdd3e0cb102156 /src/ctype/isspace.c | |
| parent | c575f269ed4a04f89d610b423cc43ce7bd6f008b (diff) | |
add LC_CTYPE epoch and use separate CT_ categories and CTM_ masks to support detecting change of LC_CTYPE between calls to wctype()/iswctype() and wctrans()/towctrans()
Diffstat (limited to 'src/ctype/isspace.c')
| -rw-r--r-- | src/ctype/isspace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ctype/isspace.c b/src/ctype/isspace.c index 654d50fb..20dcf6cc 100644 --- a/src/ctype/isspace.c +++ b/src/ctype/isspace.c @@ -9,7 +9,7 @@ int isspace(int c) SIGNAL_SAFE(0); ASSERT_REPRESENTABLE(c, 0, UCHAR_MAX, unsigned char, EOF); - return c == EOF ? 0 : map[c] & CT_SPACE; + return c == EOF ? 0 : map[c] & CTM_SPACE; } CHECK_1(int, 0, isspace, int) |
