Ian Romanick <i...@freedesktop.org> writes: > The root cause of bug #23308 has been determined to be the use of > strtod in our assembly and GLSL parsers. When LANG is set to a > locale that changes the radix from "." to, say, ",", floating point > numbers are not parsed correctly. > > It seems that the correct fix is to have _mesa_strtod actually > implement strtod and ignore the locale setting.
What about char *lang = getenv("LANG"); setenv("LANG", "POSIX", 1); strtod(...); setenv("LANG", lang, 1); i.e. push / pop the LANG value? -tom ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev