Dan Kegel dank@kegel.com writes:
On Mon, Jul 23, 2012 at 5:56 AM, Alexandre Julliard julliard@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.