summaryrefslogtreecommitdiff
path: root/src/wchar/wcsncat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wchar/wcsncat.c')
-rw-r--r--src/wchar/wcsncat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wchar/wcsncat.c b/src/wchar/wcsncat.c
index f2085747..8cda3694 100644
--- a/src/wchar/wcsncat.c
+++ b/src/wchar/wcsncat.c
@@ -4,6 +4,8 @@
wchar_t * wcsncat(wchar_t * restrict s1, const wchar_t * restrict s2, size_t n)
{
+ SIGNAL_SAFE(0);
+
wcsncpy(s1 + wcslen(s1), s2, n);
/* ensure trailing nul */
return s1;