[PATCH] msvcrt: Use mbtowc/wctomb for string conversion in printf.
This changes printf behaviour for C locale. Signed-off-by: Piotr Caban <piotr(a)codeweavers.com> --- dlls/msvcrt/msvcrt.h | 2 + dlls/msvcrt/printf.h | 97 ++++++++++++++++++++++++-------------- dlls/msvcrt/tests/printf.c | 12 +++++ 3 files changed, 75 insertions(+), 36 deletions(-)
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=47664 Your paranoid android. === wxppro (32 bit report) === msvcrt: printf.c:799: Test failed: r = 0 === w2003std (32 bit report) === msvcrt: printf.c:799: Test failed: r = 0
participants (2)
-
Marvin -
Piotr Caban