Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
14944:e7e0c6d13f24 | 14945:4cd74c2aca79 |
---|---|
2231 init_lread () | 2231 init_lread () |
2232 { | 2232 { |
2233 char *normal; | 2233 char *normal; |
2234 int turn_off_warning = 0; | 2234 int turn_off_warning = 0; |
2235 | 2235 |
2236 #ifdef HAVE_SETLOCALE | |
2237 /* Make sure numbers are parsed as we expect. */ | |
2238 setlocale (LC_NUMERIC, "C"); | |
2239 #endif /* HAVE_SETLOCALE */ | |
2240 | |
2236 /* Compute the default load-path. */ | 2241 /* Compute the default load-path. */ |
2237 #ifdef CANNOT_DUMP | 2242 #ifdef CANNOT_DUMP |
2238 normal = PATH_LOADSEARCH; | 2243 normal = PATH_LOADSEARCH; |
2239 Vload_path = decode_env_path (0, normal); | 2244 Vload_path = decode_env_path (0, normal); |
2240 #else | 2245 #else |