Commit cf580265 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcrt: Copy wcscpy implementation from ntdll.

parent a88d75f4
...@@ -508,7 +508,7 @@ ...@@ -508,7 +508,7 @@
@ cdecl wcschr(wstr long) MSVCRT_wcschr @ cdecl wcschr(wstr long) MSVCRT_wcschr
@ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp @ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp
@ cdecl wcscoll(wstr wstr) MSVCRT_wcscoll @ cdecl wcscoll(wstr wstr) MSVCRT_wcscoll
@ cdecl wcscpy(ptr wstr) ntdll.wcscpy @ cdecl wcscpy(ptr wstr) MSVCRT_wcscpy
@ cdecl wcscspn(wstr wstr) ntdll.wcscspn @ cdecl wcscspn(wstr wstr) ntdll.wcscspn
@ cdecl wcsftime(ptr long wstr ptr) MSVCRT_wcsftime @ cdecl wcsftime(ptr long wstr ptr) MSVCRT_wcsftime
@ cdecl wcslen(wstr) MSVCRT_wcslen @ cdecl wcslen(wstr) MSVCRT_wcslen
......
...@@ -1859,7 +1859,7 @@ ...@@ -1859,7 +1859,7 @@
@ cdecl wcschr(wstr long) MSVCRT_wcschr @ cdecl wcschr(wstr long) MSVCRT_wcschr
@ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp @ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp
@ cdecl wcscoll(wstr wstr) MSVCRT_wcscoll @ cdecl wcscoll(wstr wstr) MSVCRT_wcscoll
@ cdecl wcscpy(ptr wstr) ntdll.wcscpy @ cdecl wcscpy(ptr wstr) MSVCRT_wcscpy
@ cdecl wcscpy_s(ptr long wstr) MSVCRT_wcscpy_s @ cdecl wcscpy_s(ptr long wstr) MSVCRT_wcscpy_s
@ cdecl wcscspn(wstr wstr) ntdll.wcscspn @ cdecl wcscspn(wstr wstr) ntdll.wcscspn
@ cdecl wcsftime(ptr long wstr ptr) MSVCRT_wcsftime @ cdecl wcsftime(ptr long wstr ptr) MSVCRT_wcsftime
......
...@@ -2217,7 +2217,7 @@ ...@@ -2217,7 +2217,7 @@
@ cdecl wcschr(wstr long) MSVCRT_wcschr @ cdecl wcschr(wstr long) MSVCRT_wcschr
@ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp @ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp
@ cdecl wcscoll(wstr wstr) MSVCRT_wcscoll @ cdecl wcscoll(wstr wstr) MSVCRT_wcscoll
@ cdecl wcscpy(ptr wstr) ntdll.wcscpy @ cdecl wcscpy(ptr wstr) MSVCRT_wcscpy
@ cdecl wcscpy_s(ptr long wstr) MSVCRT_wcscpy_s @ cdecl wcscpy_s(ptr long wstr) MSVCRT_wcscpy_s
@ cdecl wcscspn(wstr wstr) ntdll.wcscspn @ cdecl wcscspn(wstr wstr) ntdll.wcscspn
@ cdecl wcsftime(ptr long wstr ptr) MSVCRT_wcsftime @ cdecl wcsftime(ptr long wstr ptr) MSVCRT_wcsftime
......
...@@ -2452,7 +2452,7 @@ ...@@ -2452,7 +2452,7 @@
@ cdecl wcschr(wstr long) MSVCRT_wcschr @ cdecl wcschr(wstr long) MSVCRT_wcschr
@ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp @ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp
@ cdecl wcscoll(wstr wstr) MSVCRT_wcscoll @ cdecl wcscoll(wstr wstr) MSVCRT_wcscoll
@ cdecl wcscpy(ptr wstr) ntdll.wcscpy @ cdecl wcscpy(ptr wstr) MSVCRT_wcscpy
@ cdecl wcscpy_s(ptr long wstr) MSVCRT_wcscpy_s @ cdecl wcscpy_s(ptr long wstr) MSVCRT_wcscpy_s
@ cdecl wcscspn(wstr wstr) ntdll.wcscspn @ cdecl wcscspn(wstr wstr) ntdll.wcscspn
@ cdecl wcsftime(ptr long wstr ptr) MSVCRT_wcsftime @ cdecl wcsftime(ptr long wstr ptr) MSVCRT_wcsftime
......
...@@ -854,7 +854,7 @@ ...@@ -854,7 +854,7 @@
@ cdecl wcschr(wstr long) MSVCRT_wcschr @ cdecl wcschr(wstr long) MSVCRT_wcschr
@ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp @ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp
@ cdecl wcscoll(wstr wstr) MSVCRT_wcscoll @ cdecl wcscoll(wstr wstr) MSVCRT_wcscoll
@ cdecl wcscpy(ptr wstr) ntdll.wcscpy @ cdecl wcscpy(ptr wstr) MSVCRT_wcscpy
@ cdecl wcscspn(wstr wstr) ntdll.wcscspn @ cdecl wcscspn(wstr wstr) ntdll.wcscspn
@ cdecl wcsftime(ptr long wstr ptr) MSVCRT_wcsftime @ cdecl wcsftime(ptr long wstr ptr) MSVCRT_wcsftime
@ cdecl wcslen(wstr) MSVCRT_wcslen @ cdecl wcslen(wstr) MSVCRT_wcslen
......
...@@ -850,7 +850,7 @@ ...@@ -850,7 +850,7 @@
@ cdecl wcschr(wstr long) MSVCRT_wcschr @ cdecl wcschr(wstr long) MSVCRT_wcschr
@ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp @ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp
@ cdecl wcscoll(wstr wstr) MSVCRT_wcscoll @ cdecl wcscoll(wstr wstr) MSVCRT_wcscoll
@ cdecl wcscpy(ptr wstr) ntdll.wcscpy @ cdecl wcscpy(ptr wstr) MSVCRT_wcscpy
@ cdecl wcscspn(wstr wstr) ntdll.wcscspn @ cdecl wcscspn(wstr wstr) ntdll.wcscspn
@ cdecl wcsftime(ptr long wstr ptr) MSVCRT_wcsftime @ cdecl wcsftime(ptr long wstr ptr) MSVCRT_wcsftime
@ cdecl wcslen(wstr) MSVCRT_wcslen @ cdecl wcslen(wstr) MSVCRT_wcslen
......
...@@ -1539,7 +1539,7 @@ ...@@ -1539,7 +1539,7 @@
@ cdecl wcschr(wstr long) MSVCRT_wcschr @ cdecl wcschr(wstr long) MSVCRT_wcschr
@ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp @ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp
@ cdecl wcscoll(wstr wstr) MSVCRT_wcscoll @ cdecl wcscoll(wstr wstr) MSVCRT_wcscoll
@ cdecl wcscpy(ptr wstr) ntdll.wcscpy @ cdecl wcscpy(ptr wstr) MSVCRT_wcscpy
@ cdecl wcscpy_s(ptr long wstr) MSVCRT_wcscpy_s @ cdecl wcscpy_s(ptr long wstr) MSVCRT_wcscpy_s
@ cdecl wcscspn(wstr wstr) ntdll.wcscspn @ cdecl wcscspn(wstr wstr) ntdll.wcscspn
@ cdecl wcsftime(ptr long wstr ptr) MSVCRT_wcsftime @ cdecl wcsftime(ptr long wstr ptr) MSVCRT_wcsftime
......
...@@ -1512,7 +1512,7 @@ ...@@ -1512,7 +1512,7 @@
@ cdecl wcschr(wstr long) MSVCRT_wcschr @ cdecl wcschr(wstr long) MSVCRT_wcschr
@ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp @ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp
@ cdecl wcscoll(wstr wstr) MSVCRT_wcscoll @ cdecl wcscoll(wstr wstr) MSVCRT_wcscoll
@ cdecl wcscpy(ptr wstr) ntdll.wcscpy @ cdecl wcscpy(ptr wstr) MSVCRT_wcscpy
@ cdecl wcscpy_s(ptr long wstr) MSVCRT_wcscpy_s @ cdecl wcscpy_s(ptr long wstr) MSVCRT_wcscpy_s
@ cdecl wcscspn(wstr wstr) ntdll.wcscspn @ cdecl wcscspn(wstr wstr) ntdll.wcscspn
@ cdecl wcsftime(ptr long wstr ptr) MSVCRT_wcsftime @ cdecl wcsftime(ptr long wstr ptr) MSVCRT_wcsftime
......
...@@ -1486,7 +1486,7 @@ ...@@ -1486,7 +1486,7 @@
@ cdecl wcschr(wstr long) MSVCRT_wcschr @ cdecl wcschr(wstr long) MSVCRT_wcschr
@ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp @ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp
@ cdecl wcscoll(wstr wstr) MSVCRT_wcscoll @ cdecl wcscoll(wstr wstr) MSVCRT_wcscoll
@ cdecl wcscpy(ptr wstr) ntdll.wcscpy @ cdecl wcscpy(ptr wstr) MSVCRT_wcscpy
@ cdecl wcscpy_s(ptr long wstr) MSVCRT_wcscpy_s @ cdecl wcscpy_s(ptr long wstr) MSVCRT_wcscpy_s
@ cdecl wcscspn(wstr wstr) ntdll.wcscspn @ cdecl wcscspn(wstr wstr) ntdll.wcscspn
@ cdecl wcsftime(ptr long wstr ptr) MSVCRT_wcsftime @ cdecl wcsftime(ptr long wstr ptr) MSVCRT_wcsftime
......
...@@ -2162,6 +2162,16 @@ INT CDECL MSVCRT_wcscpy_s( MSVCRT_wchar_t* wcDest, MSVCRT_size_t numElement, con ...@@ -2162,6 +2162,16 @@ INT CDECL MSVCRT_wcscpy_s( MSVCRT_wchar_t* wcDest, MSVCRT_size_t numElement, con
return 0; return 0;
} }
/***********************************************************************
* wcscpy (MSVCRT.@)
*/
MSVCRT_wchar_t* __cdecl MSVCRT_wcscpy( MSVCRT_wchar_t *dst, const MSVCRT_wchar_t *src )
{
WCHAR *p = dst;
while ((*p++ = *src++));
return dst;
}
/****************************************************************** /******************************************************************
* wcsncpy (MSVCRT.@) * wcsncpy (MSVCRT.@)
*/ */
......
...@@ -806,7 +806,7 @@ ...@@ -806,7 +806,7 @@
@ cdecl wcschr(wstr long) MSVCRT_wcschr @ cdecl wcschr(wstr long) MSVCRT_wcschr
@ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp @ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp
@ cdecl wcscoll(wstr wstr) MSVCRT_wcscoll @ cdecl wcscoll(wstr wstr) MSVCRT_wcscoll
@ cdecl wcscpy(ptr wstr) ntdll.wcscpy @ cdecl wcscpy(ptr wstr) MSVCRT_wcscpy
@ cdecl wcscspn(wstr wstr) ntdll.wcscspn @ cdecl wcscspn(wstr wstr) ntdll.wcscspn
@ cdecl wcsftime(ptr long wstr ptr) MSVCRT_wcsftime @ cdecl wcsftime(ptr long wstr ptr) MSVCRT_wcsftime
@ cdecl wcslen(wstr) MSVCRT_wcslen @ cdecl wcslen(wstr) MSVCRT_wcslen
......
...@@ -1816,7 +1816,7 @@ ...@@ -1816,7 +1816,7 @@
@ cdecl _o_wcrtomb_s(ptr ptr long long ptr) MSVCRT_wcrtomb_s @ cdecl _o_wcrtomb_s(ptr ptr long long ptr) MSVCRT_wcrtomb_s
@ cdecl _o_wcscat_s(wstr long wstr) MSVCRT_wcscat_s @ cdecl _o_wcscat_s(wstr long wstr) MSVCRT_wcscat_s
@ cdecl _o_wcscoll(wstr wstr) MSVCRT_wcscoll @ cdecl _o_wcscoll(wstr wstr) MSVCRT_wcscoll
@ cdecl _o_wcscpy(ptr wstr) ntdll.wcscpy @ cdecl _o_wcscpy(ptr wstr) MSVCRT_wcscpy
@ cdecl _o_wcscpy_s(ptr long wstr) MSVCRT_wcscpy_s @ cdecl _o_wcscpy_s(ptr long wstr) MSVCRT_wcscpy_s
@ cdecl _o_wcsftime(ptr long wstr ptr) MSVCRT_wcsftime @ cdecl _o_wcsftime(ptr long wstr ptr) MSVCRT_wcsftime
@ cdecl _o_wcsncat_s(wstr long wstr long) MSVCRT_wcsncat_s @ cdecl _o_wcsncat_s(wstr long wstr long) MSVCRT_wcsncat_s
...@@ -2559,7 +2559,7 @@ ...@@ -2559,7 +2559,7 @@
@ cdecl wcschr(wstr long) MSVCRT_wcschr @ cdecl wcschr(wstr long) MSVCRT_wcschr
@ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp @ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp
@ cdecl wcscoll(wstr wstr) MSVCRT_wcscoll @ cdecl wcscoll(wstr wstr) MSVCRT_wcscoll
@ cdecl wcscpy(ptr wstr) ntdll.wcscpy @ cdecl wcscpy(ptr wstr) MSVCRT_wcscpy
@ cdecl wcscpy_s(ptr long wstr) MSVCRT_wcscpy_s @ cdecl wcscpy_s(ptr long wstr) MSVCRT_wcscpy_s
@ cdecl wcscspn(wstr wstr) ntdll.wcscspn @ cdecl wcscspn(wstr wstr) ntdll.wcscspn
@ cdecl wcsftime(ptr long wstr ptr) MSVCRT_wcsftime @ cdecl wcsftime(ptr long wstr ptr) MSVCRT_wcsftime
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment