msvcr100: Add wmemmove_s and wmemcpy_s

Alexandre Julliard julliard at winehq.org
Sun Aug 26 03:29:49 CDT 2012


Dan Kegel <dank at kegel.com> writes:

> I asked Alexandre what
> http://source.winehq.org/patches/data/88732
> needed before it could be reviewed.  He said it needed to adapt
> to the recent parameter checking changes.  I see that
> when he took my patch
> http://www.winehq.org/pipermail/wine-patches/attachments/20120728/bea2581d/attachment.obj
> and committed it as
> http://source.winehq.org/git/wine.git/patch/49560458426cf25b6a36bbf9bad35aa75c9f7aa7
> he could remove a few assignments to *MSVCRT__errno()
> because MSVCRT_CHECK_PMT now does that for you.
>
> But msvcr100's wmemmove_s/wmemcpy_s are different; they
> do not change errno.  Tests in my patch confirm this.  So
> changing msvcr100's CHECK_PMT macro to assign to errno
> doesn't seem appropriate.

They do set errno, the tests are broken. Check how it's done in msvcr90.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list