From 4f918c7e500765b42801a3e3d55a8598f4e17721 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 5 Dec 2002 20:46:37 +0000 Subject: [PATCH] Merge some alloca.c changes from Emacs. --- lib/ChangeLog | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/ChangeLog b/lib/ChangeLog index b283294d06..076c4ed1ff 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,15 @@ +2002-12-05 Paul Eggert + + * alloca.c [defined emacs]: Include "lisp.h". + (xalloc_die) [defined emacs]: New macro. + (free) [defined emacs && defined EMACS_FREE]: Define to EMACS_FREE. + [! defined emacs]: Include . + (POINTER_TYPE) [!defined POINTER_TYPE]: New macro. + (pointer): Typedef to POINTER_TYPE *. + (malloc): Remove decl; we now always use xmalloc. + (alloca): Use old-style definition, since Emacs needs this. + Check for arithmetic overflow when computing combined size. + 2002-12-04 Paul Eggert Do not generate unlocked-io.h automatically, since it's easier to -- 2.30.2