[PATCH 3/3] msvcrt: Don't use ungetc when reading double in scanf.
It may not work on unbuffered streams. Signed-off-by: Piotr Caban <piotr(a)codeweavers.com> --- dlls/msvcrt/scanf.h | 43 ++++++----- dlls/ucrtbase/tests/scanf.c | 137 +++++++++++++++++++++++++----------- 2 files changed, 120 insertions(+), 60 deletions(-)
Hi, While running your changed tests, 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=62820 Your paranoid android. === w1064v1507 (32 bit report) === ucrtbase: scanf.c:277: Test failed: got wrong count 4 for flags 0 scanf.c:277: Test failed: got wrong count 4 for flags 0x2 scanf.c:277: Test failed: got wrong count 4 for flags 0x4 === w1064v1507 (64 bit report) === ucrtbase: scanf.c:277: Test failed: got wrong count 4 for flags 0 scanf.c:277: Test failed: got wrong count 4 for flags 0x2 scanf.c:277: Test failed: got wrong count 4 for flags 0x4
participants (2)
-
Marvin -
Piotr Caban