diff options
| author | Paul Eggert | 2011-07-18 14:57:37 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-07-18 14:57:37 -0700 |
| commit | a2271ba21087837896098f97663efaa60eab943e (patch) | |
| tree | 69175b766600cf348b87cf8f774b249e0c592315 /src/ChangeLog | |
| parent | 18c525570121d8d3df377f85ec5b6f44fe39524a (diff) | |
| download | emacs-a2271ba21087837896098f97663efaa60eab943e.tar.gz emacs-a2271ba21087837896098f97663efaa60eab943e.zip | |
Don't assume that tab-width fits in int.
* character.h (sanitize_width): New inline function.
(SANE_TAB_WIDTH): New macro.
(ASCII_CHAR_WIDTH): Use it.
* indent.c (sane_tab_width): Remove. All uses replaced by
SANE_TAB_WIDTH (current_buffer).
* xdisp.c (init_iterator): Use SANE_TAB_WIDTH.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c516a346a89..909bb052fea 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,13 @@ | |||
| 1 | 2011-07-18 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-07-18 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | Don't assume that tab-width fits in int. | ||
| 4 | * character.h (sanitize_width): New inline function. | ||
| 5 | (SANE_TAB_WIDTH): New macro. | ||
| 6 | (ASCII_CHAR_WIDTH): Use it. | ||
| 7 | * indent.c (sane_tab_width): Remove. All uses replaced by | ||
| 8 | SANE_TAB_WIDTH (current_buffer). | ||
| 9 | * xdisp.c (init_iterator): Use SANE_TAB_WIDTH. | ||
| 10 | |||
| 3 | * fileio.c: Integer overflow issues with file modes. | 11 | * fileio.c: Integer overflow issues with file modes. |
| 4 | (Fset_file_modes, auto_save_1): Don't assume EMACS_INT fits in int. | 12 | (Fset_file_modes, auto_save_1): Don't assume EMACS_INT fits in int. |
| 5 | 13 | ||