Do not forward _mbccpy to strcpy.
Remove the error message in _mbccpy, it is not an error.
This commit is contained in:
parent
36f6bbb85c
commit
3d96c56f24
|
@ -281,11 +281,9 @@ MSVCRT_size_t _mbstrlen(const char* str)
|
|||
*/
|
||||
void _mbccpy(unsigned char* dest, const unsigned char* src)
|
||||
{
|
||||
*dest++ = *src;
|
||||
*dest = *src;
|
||||
if(MSVCRT___mb_cur_max > 1 && MSVCRT_isleadbyte(*src))
|
||||
*dest = *++src; /* MB char */
|
||||
else
|
||||
ERR("failure.. is this ok?\n");
|
||||
*++dest = *++src; /* MB char */
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
|
|
|
@ -335,7 +335,7 @@
|
|||
@ cdecl _mbbtombc(long)
|
||||
@ stub _mbbtype #(long long)
|
||||
# extern _mbcasemap
|
||||
@ cdecl _mbccpy (str str) strcpy
|
||||
@ cdecl _mbccpy (str str)
|
||||
@ stub _mbcjistojms #(long)
|
||||
@ stub _mbcjmstojis #(long)
|
||||
@ cdecl _mbclen(ptr)
|
||||
|
|
Loading…
Reference in New Issue