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 117ff3d04261d9d1f37d7330b9175d36cd99a3d8..982e0358c5fa7ca3b3e838ea3119be408c27b17d 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
        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  <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.
index 996e3da560d9a484746271bead0f17437dce4f0c..056f9a9befe628cd6ce047fdb9dcf34ed2f886d8 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);
   }
   {