Mercurial > emacs
diff src/lread.c @ 14945:4cd74c2aca79
(init_lread): Specify LC_NUMERIC locale.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 05 Apr 1996 18:15:53 +0000 |
parents | 7f49c41db1e8 |
children | f5abde0d2904 |
line wrap: on
line diff
--- a/src/lread.c Fri Apr 05 18:11:00 1996 +0000 +++ b/src/lread.c Fri Apr 05 18:15:53 1996 +0000 @@ -2233,6 +2233,11 @@ 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;