diff options
| author | Paul Eggert | 2011-04-21 12:40:13 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-21 12:40:13 -0700 |
| commit | bc0a5c13baf196e0f4b1554425459cdb6665fbc5 (patch) | |
| tree | ceb9d2b29cddd7a1a0c163938cd94a4e3be9e370 /src | |
| parent | 45b68384bb49e84e58a9266f4333cfa5595feb16 (diff) | |
| download | emacs-bc0a5c13baf196e0f4b1554425459cdb6665fbc5.tar.gz emacs-bc0a5c13baf196e0f4b1554425459cdb6665fbc5.zip | |
strtoimax -> strtoumax, fixing a typo.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 0ea90a4d8e5..f5239b2e046 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -11,7 +11,7 @@ | |||
| 11 | parsing non-base-10 numbers, as the documentation specifies. | 11 | parsing non-base-10 numbers, as the documentation specifies. |
| 12 | * lisp.h (string_to_number): New decl, replacing ... | 12 | * lisp.h (string_to_number): New decl, replacing ... |
| 13 | (isfloat_string): Remove. | 13 | (isfloat_string): Remove. |
| 14 | * lread.c: Include <inttypes.h>, for uintmax_t and strtoimax. | 14 | * lread.c: Include <inttypes.h>, for uintmax_t and strtoumax. |
| 15 | (read1): Do not accept +. and -. as integers; this | 15 | (read1): Do not accept +. and -. as integers; this |
| 16 | appears to have been a coding error. Similarly, do not accept | 16 | appears to have been a coding error. Similarly, do not accept |
| 17 | strings like +-1e0 as floating point numbers. Do not report | 17 | strings like +-1e0 as floating point numbers. Do not report |
| @@ -26,7 +26,7 @@ | |||
| 26 | (string_to_number): New function, replacing isfloat_string. | 26 | (string_to_number): New function, replacing isfloat_string. |
| 27 | This function checks for valid syntax and produces the resulting | 27 | This function checks for valid syntax and produces the resulting |
| 28 | Lisp float number too. Rework it so that string-to-number | 28 | Lisp float number too. Rework it so that string-to-number |
| 29 | no longer mishandles examples like "1.0e+". Use strtoimax, | 29 | no longer mishandles examples like "1.0e+". Use strtoumax, |
| 30 | so that overflow for non-base-10 numbers is reported only when | 30 | so that overflow for non-base-10 numbers is reported only when |
| 31 | there's no portable and simple way to convert to floating point. | 31 | there's no portable and simple way to convert to floating point. |
| 32 | 32 | ||