summaryrefslogtreecommitdiff
path: root/src/stdlib/wctomb.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-06-04 13:41:06 -0400
committerJakob Kaivo <jkk@ung.org>2024-06-04 13:41:06 -0400
commit0a0ca17c3d6a77fc36f96189ccff9be12af66e63 (patch)
treec0530452d5b0fb4d735ca6a2674445fefb01d093 /src/stdlib/wctomb.c
parent447a8463d51c98bd234d3c314696eab59ecb29f7 (diff)
track LC_CTYPE epoch in character conversion functions to detect a change
Diffstat (limited to 'src/stdlib/wctomb.c')
-rw-r--r--src/stdlib/wctomb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stdlib/wctomb.c b/src/stdlib/wctomb.c
index ce4c8e82..d1de2dd8 100644
--- a/src/stdlib/wctomb.c
+++ b/src/stdlib/wctomb.c
@@ -6,6 +6,7 @@
int wctomb(char * s, wchar_t wchar)
{
SIGNAL_SAFE(0);
+ ASSERT_CTYPE(s);
/* FIXME: forward dependency on AMD1 */
#if 0