about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--stdlib/tst-strtod.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f52d2e6936..1adf4cb4f5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 cf5533da3e..c466e0fb77 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 }
   };