aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorPaul Eggert2011-06-14 15:01:32 -0700
committerPaul Eggert2011-06-14 15:01:32 -0700
commit00c604f263874880cc55a000af884c55743d6441 (patch)
treef01e422ffd9a1cf764139f8fb568cfc90bd1c84c /src/alloc.c
parentdd0b0efbabfc187be6810a0e41b4ac5fdda667af (diff)
downloademacs-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