summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-06-18 19:24:28 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-06-18 19:24:28 +0000
commitd43ce814c3413c5d667db1dd8ade5d571ac81c1f (patch)
treef1d52ccfd9746821bfd39948978a395bbe6f8c8b /util.c
parent6be75cd7bb190325edc048513563b9b026ef1a86 (diff)
downloadperl-d43ce814c3413c5d667db1dd8ade5d571ac81c1f.tar.gz
Tidy up #3542 and #3543.
p4raw-id: //depot/cfgperl@3544
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index 381aeceba6..5e77d4648c 100644
--- a/util.c
+++ b/util.c
@@ -3462,7 +3462,7 @@ Perl_my_fflush_all(pTHX)
double
Perl_my_atof(const char* s) {
#ifdef USE_LOCALE_NUMERIC
- if (PL_numeric_local) {
+ if ((PL_hints & HINT_LOCALE) && PL_numeric_local) {
double x, y;
x = atof(s);