From: Richard M. Stallman Date: Fri, 5 Apr 1996 18:15:53 +0000 (+0000) Subject: (init_lread): Specify LC_NUMERIC locale. X-Git-Tag: emacs-19.34~915 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9dff7c532a8d6269891d0ff1113222e17559fa98;p=emacs.git (init_lread): Specify LC_NUMERIC locale. --- diff --git a/src/lread.c b/src/lread.c index 4c44949d5b1..4f0b5f62548 100644 --- a/src/lread.c +++ b/src/lread.c @@ -2233,6 +2233,11 @@ init_lread () char *normal; int turn_off_warning = 0; +#ifdef HAVE_SETLOCALE + /* Make sure numbers are parsed as we expect. */ + setlocale (LC_NUMERIC, "C"); +#endif /* HAVE_SETLOCALE */ + /* Compute the default load-path. */ #ifdef CANNOT_DUMP normal = PATH_LOADSEARCH;