Mercurial > emacs
changeset 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 | e7e0c6d13f24 |
children | 3ad13f2b6ea0 |
files | src/lread.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
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;