[3/6] msvcrt: implement _mbsnbcpy_s

Dmitry Timoshkov dmitry at codeweavers.com
Thu Nov 15 07:52:11 CST 2007


"Stefan Dösinger" <stefan at codeweavers.com> wrote:

> +int CDECL _mbsnbcpy_s(unsigned char* dst, MSVCRT_size_t size, const unsigned char* src, MSVCRT_size_t n)
> +{
> +    unsigned int pos = 0;

Same problem as with strcpy_s patch, and in addition MSVCRT_size_t is used.
Perhaps strcpy_s implementation should use MSVCRT_size_t as well.

> +@ cdecl _mbsnbcpy_s(ptr str long)

The spec entry has wrong number of parameters.

-- 
Dmitry. 




More information about the wine-devel mailing list