From 53916448ea693ff5d90369d91fbdab3bf2c62d4d Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Sun, 30 Mar 2008 16:39:41 -0600 Subject: [PATCH] Fix typo in last patch. Signed-off-by: Eric Blake --- ChangeLog | 18 +++++++++--------- tests/test-strtod.c | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index 117ff3d042..982e0358c5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2008-03-30 Eric Blake + + More strtod touchups. + * tests/test-strtod.c (main): Ignore tests for signbit on NaN, and + sign of negative underflow, for now. Use .5, not .1. + * doc/posix-functions/strtod.texi (strtod): Mention these + limitations. + Reported by Jim Meyering. + 2008-03-30 Bruno Haible * lib/striconveh.h (mem_iconveh, str_iconveh): Optimize the conversion @@ -17,15 +26,6 @@ Don't consider the width for tmp_length. Check count against tmp_length before doing the padding. Ensure enough allocation during padding. -2008-03-30 Eric Blake - - More strtod touchups. - * tests/test-strtod.c (main): Ignore tests for signbit on NaN, and - sign of negative underflow, for now. Use .5, not .1. - * doc/posix-functions/strtod.texi (strtod): Mention these - limitations. - Reported by Jim Meyering. - 2008-03-30 Eric Blake strtod touchups. diff --git a/tests/test-strtod.c b/tests/test-strtod.c index 996e3da560..056f9a9bef 100644 --- a/tests/test-strtod.c +++ b/tests/test-strtod.c @@ -447,7 +447,7 @@ main () char *ptr; double result = strtod (input, &ptr); ASSERT (result == HUGE_VAL); - ASSERT (ptr == input + 8); + ASSERT (ptr == input + 9); ASSERT (errno == ERANGE); } { @@ -456,7 +456,7 @@ main () char *ptr; double result = strtod (input, &ptr); ASSERT (result == -HUGE_VAL); - ASSERT (ptr == input + 9); + ASSERT (ptr == input + 10); ASSERT (errno == ERANGE); } { -- 2.30.2