changeset 9839:3dc6b2551b2e

Fix typo in last patch. Signed-off-by: Eric Blake <ebb9@byu.net>
author Eric Blake <ebb9@byu.net>
date Sun, 30 Mar 2008 16:39:41 -0600
parents c73f27c8e6f0
children bb59cc79cbdb
files ChangeLog tests/test-strtod.c
diffstat 2 files changed, 11 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Mar 30 15:04:25 2008 -0700
+++ b/ChangeLog	Sun Mar 30 16:39:41 2008 -0600
@@ -1,3 +1,12 @@
+2008-03-30  Eric Blake  <ebb9@byu.net>
+
+	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  <bruno@clisp.org>
 
 	* lib/striconveh.h (mem_iconveh, str_iconveh): Optimize the conversion
@@ -19,15 +28,6 @@
 
 2008-03-30  Eric Blake  <ebb9@byu.net>
 
-	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  <ebb9@byu.net>
-
 	strtod touchups.
 	* lib/strtod.c (strtod): Avoid compiler warnings.
 	Reported by Jim Meyering.
--- a/tests/test-strtod.c	Sun Mar 30 15:04:25 2008 -0700
+++ b/tests/test-strtod.c	Sun Mar 30 16:39:41 2008 -0600
@@ -447,7 +447,7 @@
     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 @@
     char *ptr;
     double result = strtod (input, &ptr);
     ASSERT (result == -HUGE_VAL);
-    ASSERT (ptr == input + 9);
+    ASSERT (ptr == input + 10);
     ASSERT (errno == ERANGE);
   }
   {