http://bugs.winehq.org/show_bug.cgi?id=13091
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal
--- Comment #3 from Vitaliy Margolen vitaliy@kievinfo.com 2008-05-10 16:35:54 --- Did you used this in wineconsole? Or just run 'cmd.exe your_program.exe'?
Use of "gets" is strongly discouraged in all it's applications. You should NEVER use it in your programs. Can you describe again what are you inputting, and how it should work? And what results you get on Wine? What are you expecting to be in "i", "c", "s"? With what input?
Not checking return from functions that get user input is really really bad practice. One should always validate all inputs, especially if it's from user/other program. This is about your comment not checking output from scanf.