diff options
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 9ee4a3de1d0..5f95c1594ef 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,16 @@ | |||
| 1 | 2014-09-24 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2014-09-24 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | Avoid signed integer overflow when converting Time to ptrdiff_t. | ||
| 4 | * keyboard.c (INPUT_EVENT_POS_MAX, INPUT_EVENT_POS_MIN): | ||
| 5 | New macros. | ||
| 6 | (position_to_Time, Time_to_position): New functions. | ||
| 7 | (gen_help_event, kbd_buffer_get_event): Use them. | ||
| 8 | * systime.h (Time) [emacs && !HAVE_X_WINDOWS]: | ||
| 9 | Go back to plain 'unsigned long', so that 'Time' is the same | ||
| 10 | for both X and non-X builds; this is less likely to cause surprise. | ||
| 11 | * termhooks.h: Remove compile-time check that Time and ptrdiff_t | ||
| 12 | are the same size; this is no longer required. | ||
| 13 | |||
| 3 | * keyboard.c (make_lispy_event): Avoid unnecessary tests | 14 | * keyboard.c (make_lispy_event): Avoid unnecessary tests |
| 4 | of bit 28 and of whether an unsigned value is negative. | 15 | of bit 28 and of whether an unsigned value is negative. |
| 5 | This simplifies the code a bit, and pacifies clang 3.4. | 16 | This simplifies the code a bit, and pacifies clang 3.4. |