diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-15 19:41:54 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-15 19:41:54 +0000 |
commit | cc9da0a85c21f4c5c5e340ef5f7a86c6821476b5 (patch) | |
tree | 7120a0801ab4bfb11b0119a4cf631e449bfe0e54 | |
parent | a0a0d235399e6a1d0e2f9a4bec7d1980b0f4d5b8 (diff) | |
download | uClibc-alpine-cc9da0a85c21f4c5c5e340ef5f7a86c6821476b5.tar.bz2 uClibc-alpine-cc9da0a85c21f4c5c5e340ef5f7a86c6821476b5.tar.xz |
Correct build if locales are enabled s/wcslcpy/wcsxfrm/, found by Paul Brook. Thanks
-rw-r--r-- | libc/string/wstring.c | 2 |
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__ |