http://bugs.winehq.org/show_bug.cgi?id=11187
--- Comment #2 from Matteo matteo.miraz+wine@gmail.com 2008-01-14 16:39:59 --- (In reply to comment #1)
This is one of the first things I've tried. Anyway: 1) the example do have the fflush(stdin) before reading from the stdin 2) the same program works fine if compiled under windows or under linux
For these reason, I think that the bug is still open and needs to be fixed :)
Anyway, thank you for your proposal!
try putting an fflush(stdin); before doing the second scanf and try it in wine.