[Webkit-unassigned] [Bug 16162] [gtk] parseFloat depends on locale setting

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 16 08:49:05 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=16162





------- Comment #4 from ap at webkit.org  2007-12-16 08:49 PDT -------
Actually, I'm quite sure that parseFloat works correctly. It seems that
literals are parsed wrong!

In lexer.cpp, see:
    dval = strtod(m_buffer8.data(), 0L);

It should be kjs_strtod. I'd also recommend removing USE_LOCALE code from
dtoa.cpp, to reduce future confusion.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list