Adjust specification.
authorBruno Haible <bruno@clisp.org>
Sat, 24 Jan 2009 14:01:21 +0000 (15:01 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 24 Jan 2009 14:01:21 +0000 (15:01 +0100)
ChangeLog
lib/c-strtod.h

index 1406909..83dbd4f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2009-01-24  Bruno Haible  <bruno@clisp.org>
 
+       * lib/c-strtod.h (c_strtod, c_strtold): Adjust specification.
+       Reported by Eric Blake.
+
+2009-01-24  Bruno Haible  <bruno@clisp.org>
+
        * lib/c-stack.c (segv_handler): If !HAVE_XSI_STACK_OVERFLOW_HEURISTIC,
        set signo = 0 also if info->si_code <= 0. Needed on HP-UX 11.11.
        Reported by Gary V. Vaughan <gary@gnu.org>.
index 4458d67..2b3f847 100644 (file)
@@ -30,8 +30,8 @@
    - In case of underflow, return a value very near to 0 and set errno to
      ERANGE.
    - If the string does not start with a number at all, return 0 (and recall
-     that if ENDPTR != NULL, *ENDPTR is set to NPTR).
-   - In case of other error, return 0 and set errno, for example to EINVAL
-     or ENOMEM.  */
+     that if ENDPTR != NULL, *ENDPTR is set to NPTR), and maybe set errno to
+     EINVAL.
+   - In case of other error, return 0 and set errno, for example to ENOMEM.  */
 extern double      c_strtod  (char const *nptr, char **endptr);
 extern long double c_strtold (char const *nptr, char **endptr);