* fns.c: Don't overflow int when computing a list length.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 14 Jun 2011 22:32:12 +0000 (15:32 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 14 Jun 2011 22:32:12 +0000 (15:32 -0700)
commite6966cd635f324edcc27adecb82cd85c71cbfcad
tree0412f99ae48f617d75b9ae26b2f27eb7d018d592
parent00c604f263874880cc55a000af884c55743d6441
* fns.c: Don't overflow int when computing a list length.

(Fsafe_length): Return a float if the value is not representable
as a fixnum.  This shouldn't happen except in contrived situations.
Use same QUIT_COUNT_HEURISTIC as Flength now does.
src/ChangeLog
src/fns.c