Fix typo in last patch.
authorEric Blake <ebb9@byu.net>
Sun, 30 Mar 2008 22:39:41 +0000 (16:39 -0600)
committerEric Blake <ebb9@byu.net>
Sun, 30 Mar 2008 22:42:19 +0000 (16:42 -0600)
Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
tests/test-strtod.c

index 117ff3d..982e035 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
 
 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.
index 996e3da..056f9a9 100644 (file)
@@ -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);
   }
   {