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/alloc.c | |
| 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/alloc.c')
0 files changed, 0 insertions, 0 deletions