summaryrefslogtreecommitdiff
path: root/libc/string
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-15 19:41:54 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-15 19:41:54 +0000
commitcc9da0a85c21f4c5c5e340ef5f7a86c6821476b5 (patch)
tree7120a0801ab4bfb11b0119a4cf631e449bfe0e54 /libc/string
parenta0a0d235399e6a1d0e2f9a4bec7d1980b0f4d5b8 (diff)
Correct build if locales are enabled s/wcslcpy/wcsxfrm/, found by Paul Brook. Thanks
Diffstat (limited to 'libc/string')
-rw-r--r--libc/string/wstring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/wstring.c b/libc/string/wstring.c
index 9ff74b31f..797329a89 100644
--- a/libc/string/wstring.c
+++ b/libc/string/wstring.c
@@ -3077,7 +3077,7 @@ size_t __XL(wcsxfrm)(wchar_t *__restrict ws1, const wchar_t *__restrict ws2,
int pass;
if (!CUR_COLLATE->num_weights) { /* C locale */
- return wcslcpy(ws1, ws2, n);
+ return wcsxfrm(ws1, ws2, n);
}
#ifdef __UCLIBC_MJN3_ONLY__