[1/2] msvcrt: added wmemcpy_s and wmemmove_s

Alexandre Julliard julliard at winehq.org
Mon Jul 23 10:33:45 CDT 2012

Dan Kegel <dank at kegel.com> writes:

> On Mon, Jul 23, 2012 at 5:56 AM, Alexandre Julliard <julliard at winehq.org> wrote:
>> You shouldn't need to put that in msvcrt.
> OK, I'll put it in msvcr90.

It's not supposed to be there either.

>> Also please check the parameters correctly like every other _s function does.
> The wmemmove_s/wmemcpy_s I posted are exact copies of the existing
> non-w implementation.
> I was assuming the only change needed was to use wide chars instead of bytes.
> Does the existing memmove_s also need fixing?
> Are you referring to using MSVCRT_CHECK_PMT()?

Yes, and the existing ones may need fixing too. This needs test cases.

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list