summaryrefslogtreecommitdiff
path: root/stdlib/strtod_l.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-12-14 09:06:34 +0000
committerJakub Jelinek <jakub@redhat.com>2006-12-14 09:06:34 +0000
commitb51633c5723e311ffd59a2f5ec5759914ed9476b (patch)
tree117191337a4d725029756cbfc1bb2ff545e0606c /stdlib/strtod_l.c
parent985d254c909903787e4bbc517af30406e0e9df8b (diff)
Updated to fedora-glibc-20061214T0850cvs/fedora-glibc-2_5_90-13
Diffstat (limited to 'stdlib/strtod_l.c')
-rw-r--r--stdlib/strtod_l.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/strtod_l.c b/stdlib/strtod_l.c
index b926aeba56..b4e4819c87 100644
--- a/stdlib/strtod_l.c
+++ b/stdlib/strtod_l.c
@@ -721,7 +721,7 @@ ____STRTOF_INTERNAL (nptr, endptr, group, loc)
c = *++cp;
}
- if (grouping && dig_no > 0)
+ if (grouping && cp > start_of_digits)
{
/* Check the grouping of the digits. */
#ifdef USE_WIDE_CHAR