projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
10ab13e
)
Adjust specification.
author
Bruno Haible
<bruno@clisp.org>
Sat, 24 Jan 2009 14:01:21 +0000
(15:01 +0100)
committer
Bruno Haible
<bruno@clisp.org>
Sat, 24 Jan 2009 14:01:21 +0000
(15:01 +0100)
ChangeLog
patch
|
blob
|
history
lib/c-strtod.h
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index 14069093248c8d2e4e4e40771ed0c2ed2219a5a9..83dbd4f2a7bd4756cd66f09ffe9e57c941cf6563 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,8
@@
+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,
2009-01-24 Bruno Haible <bruno@clisp.org>
* lib/c-stack.c (segv_handler): If !HAVE_XSI_STACK_OVERFLOW_HEURISTIC,
diff --git
a/lib/c-strtod.h
b/lib/c-strtod.h
index 4458d676744cde86377bd27a074b15257d3190ef..2b3f84735ad50d7615048f026add468fa66f77c4 100644
(file)
--- a/
lib/c-strtod.h
+++ b/
lib/c-strtod.h
@@
-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
- 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);
extern double c_strtod (char const *nptr, char **endptr);
extern long double c_strtold (char const *nptr, char **endptr);