* lisp.h (SAFE_ALLOCA_LISP): Check for integer overflow.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 8 Jun 2011 19:54:32 +0000 (12:54 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 8 Jun 2011 19:54:32 +0000 (12:54 -0700)
commit9c4c5f81ceb3fb3100a6a81adffcf764b843363c
treeddb255b95a05dd32e8fde8c2ce081c79a1c31aaa
parente46bb31a9f62b157947257b444fb44b1f9a42db6
* lisp.h (SAFE_ALLOCA_LISP): Check for integer overflow.

(struct Lisp_Save_Value): Use ptrdiff_t, not int, for 'integer' member.
* alloc.c (make_save_value): Integer argument is now of type
ptrdiff_t, not int.
(mark_object): Use ptrdiff_t, not int.
* lisp.h (pD): New macro.
* print.c (print_object): Use it.
src/ChangeLog
src/alloc.c
src/lisp.h
src/print.c