summaryrefslogtreecommitdiff
path: root/src/wchar/wcsrchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wchar/wcsrchr.c')
-rw-r--r--src/wchar/wcsrchr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wchar/wcsrchr.c b/src/wchar/wcsrchr.c
index 7d9e9a50..6614e723 100644
--- a/src/wchar/wcsrchr.c
+++ b/src/wchar/wcsrchr.c
@@ -4,6 +4,8 @@
wchar_t * wcsrchr(const wchar_t * s, wchar_t c)
{
+ SIGNAL_SAFE(0);
+
wchar_t *last = NULL;
while (*s) {
if (*s == c) {