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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wchar/wcsncat.c b/src/wchar/wcsncat.c
index 8cda3694..121fc99f 100644
--- a/src/wchar/wcsncat.c
+++ b/src/wchar/wcsncat.c
@@ -5,6 +5,7 @@
wchar_t * wcsncat(wchar_t * restrict s1, const wchar_t * restrict s2, size_t n)
{
SIGNAL_SAFE(0);
+ /* TODO: overlap */
wcsncpy(s1 + wcslen(s1), s2, n);
/* ensure trailing nul */