msvcrt: Copy wcscpy implementation from ntdll.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a88d75f4f6
commit
cf580265e3
|
@ -508,7 +508,7 @@
|
|||
@ cdecl wcschr(wstr long) MSVCRT_wcschr
|
||||
@ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp
|
||||
@ 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 wcsftime(ptr long wstr ptr) MSVCRT_wcsftime
|
||||
@ cdecl wcslen(wstr) MSVCRT_wcslen
|
||||
|
|
|
@ -1859,7 +1859,7 @@
|
|||
@ cdecl wcschr(wstr long) MSVCRT_wcschr
|
||||
@ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp
|
||||
@ 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 wcscspn(wstr wstr) ntdll.wcscspn
|
||||
@ cdecl wcsftime(ptr long wstr ptr) MSVCRT_wcsftime
|
||||
|
|
|
@ -2217,7 +2217,7 @@
|
|||
@ cdecl wcschr(wstr long) MSVCRT_wcschr
|
||||
@ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp
|
||||
@ 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 wcscspn(wstr wstr) ntdll.wcscspn
|
||||
@ cdecl wcsftime(ptr long wstr ptr) MSVCRT_wcsftime
|
||||
|
|
|
@ -2452,7 +2452,7 @@
|
|||
@ cdecl wcschr(wstr long) MSVCRT_wcschr
|
||||
@ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp
|
||||
@ 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 wcscspn(wstr wstr) ntdll.wcscspn
|
||||
@ cdecl wcsftime(ptr long wstr ptr) MSVCRT_wcsftime
|
||||
|
|
|
@ -854,7 +854,7 @@
|
|||
@ cdecl wcschr(wstr long) MSVCRT_wcschr
|
||||
@ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp
|
||||
@ 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 wcsftime(ptr long wstr ptr) MSVCRT_wcsftime
|
||||
@ cdecl wcslen(wstr) MSVCRT_wcslen
|
||||
|
|
|
@ -850,7 +850,7 @@
|
|||
@ cdecl wcschr(wstr long) MSVCRT_wcschr
|
||||
@ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp
|
||||
@ 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 wcsftime(ptr long wstr ptr) MSVCRT_wcsftime
|
||||
@ cdecl wcslen(wstr) MSVCRT_wcslen
|
||||
|
|
|
@ -1539,7 +1539,7 @@
|
|||
@ cdecl wcschr(wstr long) MSVCRT_wcschr
|
||||
@ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp
|
||||
@ 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 wcscspn(wstr wstr) ntdll.wcscspn
|
||||
@ cdecl wcsftime(ptr long wstr ptr) MSVCRT_wcsftime
|
||||
|
|
|
@ -1512,7 +1512,7 @@
|
|||
@ cdecl wcschr(wstr long) MSVCRT_wcschr
|
||||
@ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp
|
||||
@ 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 wcscspn(wstr wstr) ntdll.wcscspn
|
||||
@ cdecl wcsftime(ptr long wstr ptr) MSVCRT_wcsftime
|
||||
|
|
|
@ -1486,7 +1486,7 @@
|
|||
@ cdecl wcschr(wstr long) MSVCRT_wcschr
|
||||
@ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp
|
||||
@ 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 wcscspn(wstr wstr) ntdll.wcscspn
|
||||
@ 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
|
|||
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.@)
|
||||
*/
|
||||
|
|
|
@ -806,7 +806,7 @@
|
|||
@ cdecl wcschr(wstr long) MSVCRT_wcschr
|
||||
@ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp
|
||||
@ 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 wcsftime(ptr long wstr ptr) MSVCRT_wcsftime
|
||||
@ cdecl wcslen(wstr) MSVCRT_wcslen
|
||||
|
|
|
@ -1816,7 +1816,7 @@
|
|||
@ cdecl _o_wcrtomb_s(ptr ptr long long ptr) MSVCRT_wcrtomb_s
|
||||
@ cdecl _o_wcscat_s(wstr long wstr) MSVCRT_wcscat_s
|
||||
@ 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_wcsftime(ptr long wstr ptr) MSVCRT_wcsftime
|
||||
@ cdecl _o_wcsncat_s(wstr long wstr long) MSVCRT_wcsncat_s
|
||||
|
@ -2559,7 +2559,7 @@
|
|||
@ cdecl wcschr(wstr long) MSVCRT_wcschr
|
||||
@ cdecl wcscmp(wstr wstr) MSVCRT_wcscmp
|
||||
@ 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 wcscspn(wstr wstr) ntdll.wcscspn
|
||||
@ cdecl wcsftime(ptr long wstr ptr) MSVCRT_wcsftime
|
||||
|
|
Loading…
Reference in New Issue