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)
|
void _mbccpy(unsigned char* dest, const unsigned char* src)
|
||||||
{
|
{
|
||||||
*dest++ = *src;
|
*dest = *src;
|
||||||
if(MSVCRT___mb_cur_max > 1 && MSVCRT_isleadbyte(*src))
|
if(MSVCRT___mb_cur_max > 1 && MSVCRT_isleadbyte(*src))
|
||||||
*dest = *++src; /* MB char */
|
*++dest = *++src; /* MB char */
|
||||||
else
|
|
||||||
ERR("failure.. is this ok?\n");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*********************************************************************
|
/*********************************************************************
|
||||||
|
|
|
@ -335,7 +335,7 @@
|
||||||
@ cdecl _mbbtombc(long)
|
@ cdecl _mbbtombc(long)
|
||||||
@ stub _mbbtype #(long long)
|
@ stub _mbbtype #(long long)
|
||||||
# extern _mbcasemap
|
# extern _mbcasemap
|
||||||
@ cdecl _mbccpy (str str) strcpy
|
@ cdecl _mbccpy (str str)
|
||||||
@ stub _mbcjistojms #(long)
|
@ stub _mbcjistojms #(long)
|
||||||
@ stub _mbcjmstojis #(long)
|
@ stub _mbcjmstojis #(long)
|
||||||
@ cdecl _mbclen(ptr)
|
@ cdecl _mbclen(ptr)
|
||||||
|
|
Loading…
Reference in New Issue