diff options
| author | Paul Eggert | 2011-06-08 11:51:02 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-06-08 11:51:02 -0700 |
| commit | 5a25e253b46a4f0def2361b1f34ff6c556f138ba (patch) | |
| tree | a279d668f6f49637e787c501b5b9d69137f55af4 /src/ChangeLog | |
| parent | c0c5c8ae3686b2fced5aed6e2e15d8222382c4b7 (diff) | |
| download | emacs-5a25e253b46a4f0def2361b1f34ff6c556f138ba.tar.gz emacs-5a25e253b46a4f0def2361b1f34ff6c556f138ba.zip | |
* alloc.c: (n_interval_blocks, n_string_blocks, n_float_blocks, n_cons_blocks)
(n_vectors, n_symbol_blocks, n_marker_blocks): Remove.
These were 'int' variables that could overflow on 64-bit hosts;
they were never used, so remove them instead of repairing them.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 31b5abf9b0a..171d48cbe11 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -9,6 +9,10 @@ | |||
| 9 | (Fgarbage_collect): Compute overall total using a double, so that | 9 | (Fgarbage_collect): Compute overall total using a double, so that |
| 10 | integer overflow is less likely to be a problem. Check for overflow | 10 | integer overflow is less likely to be a problem. Check for overflow |
| 11 | when converting back to an integer. | 11 | when converting back to an integer. |
| 12 | (n_interval_blocks, n_string_blocks, n_float_blocks, n_cons_blocks) | ||
| 13 | (n_vectors, n_symbol_blocks, n_marker_blocks): Remove. | ||
| 14 | These were 'int' variables that could overflow on 64-bit hosts; | ||
| 15 | they were never used, so remove them instead of repairing them. | ||
| 12 | 16 | ||
| 13 | * alloc.c (Fmake_bool_vector): Don't assume vector size fits in int. | 17 | * alloc.c (Fmake_bool_vector): Don't assume vector size fits in int. |
| 14 | (allocate_vectorlike): Check for ptrdiff_t overflow. | 18 | (allocate_vectorlike): Check for ptrdiff_t overflow. |