http://bugs.winehq.org/show_bug.cgi?id=16923
Summary: sscanf function missing hh modifier Product: Wine Version: 1.1.10 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msvcrt AssignedTo: wine-bugs@winehq.org ReportedBy: pcjc2@cam.ac.uk
The sscanf function in the Wine msvcrt runtime doesn't support the "hh" modifier, as described here:
http://www.opengroup.org/onlinepubs/009695399/functions/sscanf.html
I've not tested or read the source thoroughly enough to see if any other of the standard modifiers are missing from the Wine implementation.
Since I'm not sure whether Micosoft's msvcrt.dll supports this modifier (and have no Windows box working to test at the moment), I appreciate this might be closed "not a bug" if the behaviour is infact compatible with Microsoft's.
I'm developing applications on linux, cross-compiling and using wine to test. The lack of an hh modifier caused memory corruption and some strange behaviours in the app. We've changed our code to avoid the problem, but I thought I'd do due diligence and mention it here in case it turned out to be a problem for you guys.
Best regards
Peter Clifton