summaryrefslogtreecommitdiff
path: root/src/wchar/wcsncpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wchar/wcsncpy.c')
-rw-r--r--src/wchar/wcsncpy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wchar/wcsncpy.c b/src/wchar/wcsncpy.c
index 4a33779a..2c595575 100644
--- a/src/wchar/wcsncpy.c
+++ b/src/wchar/wcsncpy.c
@@ -4,6 +4,8 @@
wchar_t * wcsncpy(wchar_t * restrict s1, const wchar_t * restrict s2, size_t n)
{
+ SIGNAL_SAFE(0);
+
size_t i;
int nul = 0;
for (i = 0; i < n; i++) {