[PATCH 1/2] msvcrt: Inline MSVCRT__towlower_l with an internal helper.
Piotr Caban
piotr.caban at gmail.com
Mon Nov 9 06:57:13 CST 2020
Hi Rémi,
I think it would be better to fix it by creating temporary locale_t
object when NULL is passed. This way we can avoid adding multiple
internal functions (it will also make it possible to reuse it in more
functions in future). _get_current_locale is buggy but it should be good
enough in this case (you can also introduce get_current_locale_noalloc
and free_locale_noalloc that avoids allocation to speed things up).
Thanks,
Piotr
More information about the wine-devel
mailing list