What's the right way to implement _wtoi_l?

Austin English austinenglish at gmail.com
Mon Jul 23 21:45:51 CDT 2012


On Sun, Jul 22, 2012 at 11:07 PM, Alex Henrie <alexhenrie24 at gmail.com> wrote:
> Dear Wine developers,
>
> Bug 24389 documents an application crash due to the unimplemented
> function msvcr90._wtoi_l. I have been looking into how to resolve this
> problem. I see three workable options:
>
> 1. Implement msvcr90._wtoi_l by copying the code from ntdll._wtoi to
> msvcrt, ignoring the locale parameter for now.
>
> 2. Forward msvcr90._wtoi_l to ntdll._wtoi via msvcr90.spec, ignoring
> the locale parameter for now.
>
> 3. Implement msvcr90._wtoi_l as a stub function in msvcrt that always returns 0.
>
> Any of these options would fix bug 24389. Which one should I work on?
>
> -Alex

Judging by similar recent commits
(http://source.winehq.org/git/wine.git/commitdiff/f320f6cf4843eab3d22b60674808e4e3de964b5a),
1 seems to be the way to go.

-- 
-Austin



More information about the wine-devel mailing list