http://bugs.winehq.org/show_bug.cgi?id=34580 Bug #: 34580 Summary: strtoul behaves incorrectly with negative numbers. Product: Wine Version: 1.7.1 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msvcrt AssignedTo: wine-bugs(a)winehq.org ReportedBy: billy65bob(a)gmail.com Classification: Unclassified Created attachment 46055 --> http://bugs.winehq.org/attachment.cgi?id=46055 Small test of strtoul showing bad behaviour with 64bit wine Howdy ho, I and Lee were messing around with some 64bit applications built via mingw, and much to our chagrin, something was reading the numbers incorrectly. We got the expected results on native Linux, native Windows (both mingw and msvc bins tested), but not on 64bit wine IF we built with mingw. Investigating, we tracked it down to wine's implementation of strtoul. I've written up a small test case showing our use of strtoul. It should also reliably reproduce the errors provided it is... 1. built as a 64bit Windows application; 2. strtoul is not inlined; 3. It's executed in wine -- 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.