diff options
| author | Paul Eggert | 2015-02-08 23:12:04 -0800 |
|---|---|---|
| committer | Paul Eggert | 2015-02-08 23:12:32 -0800 |
| commit | 2f7008715326a49770fcb82003ed78eab28c0626 (patch) | |
| tree | a34a7d13109dda84089ea6082e243f27000fe671 /src/ChangeLog | |
| parent | 237171731157095f5cc46b0f6f6205e3b4ba9f00 (diff) | |
| download | emacs-2f7008715326a49770fcb82003ed78eab28c0626.tar.gz emacs-2f7008715326a49770fcb82003ed78eab28c0626.zip | |
Use C99's INFINITY and NAN macros
* lread.c: Include <math.h>.
(string_to_number): Use INFINITY and NAN rather than rolling our own.
This avoids some runtime diagnostics when building with
gcc -fsanitize=undefined.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 3b2c9a6777f..381ae6b0989 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,11 @@ | |||
| 1 | 2015-02-09 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2015-02-09 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | Use C99's INFINITY and NAN macros | ||
| 4 | * lread.c: Include <math.h>. | ||
| 5 | (string_to_number): Use INFINITY and NAN rather than rolling our own. | ||
| 6 | This avoids some runtime diagnostics when building with | ||
| 7 | gcc -fsanitize=undefined. | ||
| 8 | |||
| 3 | Fix bidi_explicit_dir_char undefined behavior | 9 | Fix bidi_explicit_dir_char undefined behavior |
| 4 | * bidi.c (bidi_explicit_dir_char): Avoid subscript error when | 10 | * bidi.c (bidi_explicit_dir_char): Avoid subscript error when |
| 5 | argument is BIDI_EOB. This can happen in bidi_level_of_next_char. | 11 | argument is BIDI_EOB. This can happen in bidi_level_of_next_char. |