diff options
| author | Paul Eggert | 2011-06-14 15:01:32 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-06-14 15:01:32 -0700 |
| commit | 00c604f263874880cc55a000af884c55743d6441 (patch) | |
| tree | f01e422ffd9a1cf764139f8fb568cfc90bd1c84c /src/ChangeLog | |
| parent | dd0b0efbabfc187be6810a0e41b4ac5fdda667af (diff) | |
| download | emacs-00c604f263874880cc55a000af884c55743d6441.tar.gz emacs-00c604f263874880cc55a000af884c55743d6441.zip | |
* fns.c (Flength): Don't overflow int when computing a list length.
Use EMACS_INT, not int, to avoid unwanted truncation on 64-bit hosts.
Check for QUIT every 1024 entries rather than every other entry;
that's faster and is responsive enough. Report an error instead of
overflowing an integer.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index dd61843bc85..5d70c56cc5c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,11 @@ | |||
| 1 | 2011-06-14 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-06-14 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * fns.c (Flength): Don't overflow int when computing a list length. | ||
| 4 | Use EMACS_INT, not int, to avoid unwanted truncation on 64-bit hosts. | ||
| 5 | Check for QUIT every 1024 entries rather than every other entry; | ||
| 6 | that's faster and is responsive enough. Report an error instead of | ||
| 7 | overflowing an integer. | ||
| 8 | |||
| 3 | * alloc.c: Check that resized vectors' lengths fit in fixnums. | 9 | * alloc.c: Check that resized vectors' lengths fit in fixnums. |
| 4 | (header_size, word_size): New constants. | 10 | (header_size, word_size): New constants. |
| 5 | (allocate_vectorlike): Don't check size overflow here. | 11 | (allocate_vectorlike): Don't check size overflow here. |