Mercurial > hg > octave-lyh > gnulib-hg
changeset 4069:335a257b54d7
Merge some alloca.c changes from Emacs.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Thu, 05 Dec 2002 20:46:37 +0000 |
parents | d995caef4acc |
children | 925594d77a99 |
files | lib/ChangeLog |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,15 @@ +2002-12-05 Paul Eggert <eggert@twinsun.com> + + * 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 <xalloc.h>. + (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 <eggert@twinsun.com> Do not generate unlocked-io.h automatically, since it's easier to