https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61847

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |jvdelisle at gcc dot 
gnu.org
           Severity|normal                      |enhancement

--- Comment #17 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
I have a patch in the works.  The idea is to query the locale at the time the
Unit is connected and save the LC_NUMERIC character in the unit structure.
Then, if the decimal character matches the DECIMAL_STATUS (decimal="point" or
decimal="comma") active at the time of reading, change the decimal character
internally to the current locale character previously saved. This way, only one
call to locale is needed per unit connection, preserving efficiency. The real
string will then be converted correctly, regardless of locale.

Reply via email to