From 85b5767c57eecaad6aea0967444f5e5d42a4cc17 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 20 Mar 2003 01:10:57 +0000 Subject: [PATCH] Update. * stdlib/strtod.c (INTERNAL): While eating trailing zeros handling hexdigits correctly. Reported by Fred Tydeman . * stdlib/tst-strtod.c: Add test for the bug. --- ChangeLog | 4 ++++ stdlib/tst-strtod.c | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index f52d2e6..1adf4cb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,10 @@ 2003-03-19 Ulrich Drepper + * stdlib/strtod.c (INTERNAL): While eating trailing zeros handling + hexdigits correctly. Reported by Fred Tydeman . + * stdlib/tst-strtod.c: Add test for the bug. + * posix/tst-nice.c (do_test): Remove invalid of return value. Don't run test if initial level != 0. diff --git a/stdlib/tst-strtod.c b/stdlib/tst-strtod.c index cf5533d..c466e0f 100644 --- a/stdlib/tst-strtod.c +++ b/stdlib/tst-strtod.c @@ -71,6 +71,7 @@ static const struct ltest tests[] = { "-Inf", -HUGE_VAL, '\0', 0 }, { "+InFiNiTy", HUGE_VAL, '\0', 0 }, #endif + { "0x80000Ap-23", 0x80000Ap-23, '\0', 0 }, { NULL, 0, '\0', 0 } }; -- 2.7.4