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 7bd1d47b328..dd61843bc85 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,12 @@ | |||
| 1 | 2011-06-14 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-06-14 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * alloc.c: Check that resized vectors' lengths fit in fixnums. | ||
| 4 | (header_size, word_size): New constants. | ||
| 5 | (allocate_vectorlike): Don't check size overflow here. | ||
| 6 | (allocate_vector): Check it here instead, since this is the only | ||
| 7 | caller of allocate_vectorlike that could cause overflow. | ||
| 8 | Check that the new vector's length is representable as a fixnum. | ||
| 9 | |||
| 3 | * fns.c (next_almost_prime): Don't return a multiple of 3 or 5. | 10 | * fns.c (next_almost_prime): Don't return a multiple of 3 or 5. |
| 4 | The previous code was bogus. For example, next_almost_prime (32) | 11 | The previous code was bogus. For example, next_almost_prime (32) |
| 5 | returned 39, which is undesirable as it is a multiple of 3; and | 12 | returned 39, which is undesirable as it is a multiple of 3; and |