cvs commit: fptools/ghc/rts RtsStartup.c

Sven Panne panne at glass.cse.ogi.edu
Fri Mar 19 15:17:07 EST 2004


panne       2004/03/19 15:17:07 PST

  Modified files:
    ghc/rts              RtsStartup.c 
  Log:
  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.)
  
  Revision  Changes    Path
  1.80      +2 -2      fptools/ghc/rts/RtsStartup.c


More information about the Cvs-ghc mailing list