http://bugs.winehq.org/show_bug.cgi?id=14393
Summary: atoi() implemenation on large integers is wrong Product: Wine Version: 1.1.0 Platform: Other OS/Version: other Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: shino@jenux.homelinux.org CC: shino@jenux.homelinux.org
Created an attachment (id=14706) --> (http://bugs.winehq.org/attachment.cgi?id=14706) demonstration of the wrong behaviour
This bug has been mentioned on the wine mailinglist: http://www.winehq.org/pipermail/wine-devel/2004-May/027187.html
If you give atoi a string of an unsigned integer (>2^31) the wine implementation gives a strange result (apparently alway the same integer).
The GNU-libc and the windows implementation gives the correct, unsigned integer.