[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/alloca.c
From: |
Dave Love |
Subject: |
[Emacs-diffs] Changes to emacs/src/alloca.c |
Date: |
Thu, 12 Jun 2003 18:09:14 -0400 |
Index: emacs/src/alloca.c
diff -c emacs/src/alloca.c:1.25 emacs/src/alloca.c:1.26
*** emacs/src/alloca.c:1.25 Fri May 9 09:54:14 2003
--- emacs/src/alloca.c Thu Jun 12 18:09:14 2003
***************
*** 1,6 ****
--- 1,9 ----
/* alloca.c -- allocate automatically reclaimed memory
(Mostly) portable public-domain implementation -- D A Gwyn
+ NOTE: The canonical source of this file is maintained with gnulib.
+ Bugs can be reported to address@hidden
+
This implementation of the PWB library alloca function,
which is used to allocate space off the run-time stack so
that it is automatically reclaimed upon procedure exit,
***************
*** 54,60 ****
you
lose
-- must know STACK_DIRECTION at compile-time
! /* Using #error here is not wise since this file is for
old and obscure compilers. */
# endif /* STACK_DIRECTION undefined */
# endif /* static */
--- 57,63 ----
you
lose
-- must know STACK_DIRECTION at compile-time
! /* Using #error here is not wise since this file should work for
old and obscure compilers. */
# endif /* STACK_DIRECTION undefined */
# endif /* static */
***************
*** 180,186 ****
pointer
alloca (size)
! unsigned size;
{
auto char probe; /* Probes stack depth: */
register char *depth = ADDRESS_FUNCTION (probe);
--- 183,189 ----
pointer
alloca (size)
! size_t size;
{
auto char probe; /* Probes stack depth: */
register char *depth = ADDRESS_FUNCTION (probe);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/src/alloca.c,
Dave Love <=