diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-03-20 01:10:57 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-03-20 01:10:57 +0000 |
commit | 85b5767c57eecaad6aea0967444f5e5d42a4cc17 (patch) | |
tree | c8ee1e31f1bb23da5bcd3a7926039110374f1d00 | |
parent | 350e9b8552f904e83068a1cd46d4a089df3f2d0a (diff) | |
download | glibc-85b5767c57eecaad6aea0967444f5e5d42a4cc17.zip glibc-85b5767c57eecaad6aea0967444f5e5d42a4cc17.tar.gz glibc-85b5767c57eecaad6aea0967444f5e5d42a4cc17.tar.bz2 |
Update.
* stdlib/strtod.c (INTERNAL): While eating trailing zeros handling
hexdigits correctly. Reported by Fred Tydeman <tydeman@tybor.com>.
* stdlib/tst-strtod.c: Add test for the bug.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | stdlib/tst-strtod.c | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -6,6 +6,10 @@ 2003-03-19 Ulrich Drepper <drepper@redhat.com> + * stdlib/strtod.c (INTERNAL): While eating trailing zeros handling + hexdigits correctly. Reported by Fred Tydeman <tydeman@tybor.com>. + * 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 } }; |