Alexander Larsson wrote:
locale_data = localeconv ();
decimal_point = locale_data->decimal_point;
...
val = strtod (nptr, &fail_pos);
What happens if another thread calls setlocale() after localeconv() but before strtod()?
-- Marco Barisione