[Bug 13091] Input error compiling c++ sources with mingw

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Nov 12 17:40:12 CST 2008


http://bugs.winehq.org/show_bug.cgi?id=13091


Jeff Zaroyko <jeffz at jeffz.name> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID




--- Comment #7 from Jeff Zaroyko <jeffz at jeffz.name>  2008-11-12 17:40:11 ---
(In reply to comment #6)
> Is this still an issue in current (1.1.8 or newer) wine?
> 

It's largely invalid because the reporter does not check return values in his
program.  Any serious program dealing with user input will always check the
return value from scanf.

Quoting K&R.

"scanf stops when it exhausts its format string, or when some input fails to
match the control specification.  It returns as its value the number of
successfully matched and assigned input items.  This can be used to decide how
many items were found."


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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