Skip to content

Commit

Permalink
set numeric locale to "C". helps #7167
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson committed Jun 8, 2014
1 parent 308139b commit 6a07ad5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/support/libsupportinit.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ void libsupport_init(void)
{
if (!isInitialized) {
setlocale(LC_ALL, ""); // set to user locale
setlocale(LC_NUMERIC, "C"); // use locale-independent numeric formats

This comment has been minimized.

Copy link
@vtjnash

vtjnash Jun 9, 2014

Member

it's a pity this is needed, but since i took it out to see what breakage it might cause (if a library like Gtk decides to change it later), I'm not too surprised it needed to be added back


ios_init_stdstreams();

Expand Down

0 comments on commit 6a07ad5

Please sign in to comment.