[Bug 42736] scanf doesn' t work as expected when using format string contains non-ascii chars

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Apr 3 04:20:43 CDT 2017


https://bugs.winehq.org/show_bug.cgi?id=42736

--- Comment #3 from Zhang Boyang <zhangboyang.id at gmail.com> ---
Hello, I'm not sure whether directly casting '*format' to 'unsigned char' is
appropriate. It seems that the wide-scanf and plain-scanf shares same code. If
the code is compiled for wide-scanf, directly casting to 'unsigned char' may
introduce new bug, e.g. ((unsigned char) L'\xabcd' == L'\xcd') is true.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list