[project @ 2004-03-19 23:17:06 by panne]
authorpanne <unknown>
Fri, 19 Mar 2004 23:17:06 +0000 (23:17 +0000)
committerpanne <unknown>
Fri, 19 Mar 2004 23:17:06 +0000 (23:17 +0000)
commit06ebaa8c011cc4c91fddc79f89ee37fe9d3c349b
tree2d8a03aadbfd3c055b537948f908def6f23fa2a5
parent45deb4d603c392ac8f404052e7c68ce12f05538b
[project @ 2004-03-19 23:17:06 by panne]
Restrict the setlocale() to LC_CTYPE (was LC_ALL), because printf and friends
are LC_NUMERIC-sensitive. This fixes the generation of heap profiles for e.g.
de_DE locales where a comma separates the fractional part of a number, not a
dot. (There was a similar bug in Hugs regarding atof, BTW, which was fixed last
December.)

Merge to STABLE
(I leave this to the Grand Marshal of Releases, Mr. SimonM, because I'm not 100%
sure of all the consequences.)
ghc/rts/RtsStartup.c