]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
c-strtod.c sets LC_ALL, not LC_NUMERIC.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 8 Sep 2004 17:02:01 +0000 (17:02 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 8 Sep 2004 17:02:01 +0000 (17:02 +0000)
lib/ChangeLog

index 6d59771ab1e82433c7f8e2a2174de92f7e6ae77a..4e2eb509f8d19399586d97ea219a13cec65870c8 100644 (file)
@@ -1,3 +1,10 @@
+2004-09-08  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * c-strtod.c (C_STRTOD) [!defined LC_ALL_MASK]: Set LC_ALL to "C",
+       not just LC_NUMERIC, to avoid the unlikely possibility of mixed
+       locales screwing things up.  This removes an inconsistency with
+       the LC_ALL_MASK case.
+
 2004-09-02  Paul Eggert  <eggert@cs.ucla.edu>
 
        Port to diet libc.  Problem reported by Felix von Leitner in