diff options
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 7973cc277e2..2e632bc5ad8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -119,6 +119,13 @@ | |||
| 119 | (load_charset_map): Pass unsigned, not int, as 2nd arg of | 119 | (load_charset_map): Pass unsigned, not int, as 2nd arg of |
| 120 | INDEX_TO_CODE_POINT, as that's what it expects. | 120 | INDEX_TO_CODE_POINT, as that's what it expects. |
| 121 | (Funify_charset, encode_char): Don't stuff unsigned vals into int vars. | 121 | (Funify_charset, encode_char): Don't stuff unsigned vals into int vars. |
| 122 | * charset.h (DECODE_CHAR): Return int, not unsigned; | ||
| 123 | this is what was intended anyway, and it avoids undefined behavior. | ||
| 124 | (CHARSET_OFFSET): Remove unused macro, instead of fixing its | ||
| 125 | integer-overflow issues. | ||
| 126 | (ENCODE_CHAR): Return unsigned on all hosts, not just on 32-bit hosts. | ||
| 127 | Formerly, it returned EMACS_INT on 64-bit hosts in the common case | ||
| 128 | where the argument is EMACS_INT, and this behavior is not intended. | ||
| 122 | * chartab.c (Fmake_char_table, Fset_char_table_range) | 129 | * chartab.c (Fmake_char_table, Fset_char_table_range) |
| 123 | (uniprop_get_decoder, uniprop_get_encoder): | 130 | (uniprop_get_decoder, uniprop_get_encoder): |
| 124 | Don't assume fixnum fits in int. | 131 | Don't assume fixnum fits in int. |