summaryrefslogtreecommitdiff
path: root/lib/alloca.c
AgeCommit message (Collapse)Author
2002-12-06[defined emacs]: Include "lisp.h".Jim Meyering
(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.
2001-08-30(alloca): Arg is of type size_t, not unsigned.Jim Meyering
2001-02-16(malloc): Undef before defining, since stdlib.h may have defined it.Jim Meyering
2000-01-16Sync with the version from emacs-20.5.Jim Meyering
(<string.h>): Include if HAVE_STRING_H. (<stdlib.h>): Include if HAVE_STDLIB_H. (alloca): Abort if malloc fails.
1998-12-07ansideclifyJim Meyering
1998-04-09indent cpp directivesJim Meyering
1998-04-09make there be two spaces after `.' in commentsJim Meyering
1996-10-09,Jim Meyering
1992-11-01Initial revisionJim Meyering