Commit f3c159a9 authored by simonmar's avatar simonmar

[project @ 2003-08-19 16:32:23 by simonmar]

setlocale(LC_ALL,""), to enable the locale support in libc.
parent 58ce8140
/* -----------------------------------------------------------------------------
* $Id: RtsStartup.c,v 1.73 2003/04/01 15:05:15 sof Exp $
* $Id: RtsStartup.c,v 1.74 2003/08/19 16:32:23 simonmar Exp $
*
* (c) The GHC Team, 1998-2002
*
......@@ -56,6 +56,10 @@
#include <stdlib.h>
#ifdef HAVE_LOCALE_H
#include <locale.h>
#endif
// Flag Structure
struct RTS_FLAGS RtsFlags;
......@@ -167,6 +171,10 @@ hs_init(int *argc, char **argv[])
}
#endif
#ifdef HAVE_LOCALE_H
setlocale(LC_ALL,"");
#endif
/* Record initialization times */
stat_endInit();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment