1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 04:10:18 +02:00
Commit graph

5 commits

Author SHA1 Message Date
Jim Blandy
a0a06f4101 * alloca.c (alloca): Cast value returned by malloc. (Thanks to
Christian Lynbech.)
1999-01-11 08:06:18 +00:00
Jim Blandy
f122e56eda * alloca.c (alloca): Undo yesterday's changes, and simply call
malloc directly for storage, and abort if we don't get what we
want.  The situation is much simpler --- just call malloc.  Emacs
has bizarre/evil requirements (signal handlers might malloc unless
you set this global flag, so you have to set the flag around all
calls to malloc) which we are certainly not going to conform to,
so we can do the simple and obvious thing.
1998-10-04 12:59:41 +00:00
Jim Blandy
ce6ed4bae6 * alloca.c: Use scm_must_malloc to obtain storage. Hopefully this
works; I can't conveniently test it myself.  (Thanks to Dvid
Tillman for the bug report.)
1998-10-03 19:51:05 +00:00
Jim Blandy
5ac58d89ab * alloca.c: #include <scmconfig.h>, not <config.h>.
* Makefile.am (EXTRA_libguile_la_SOURCES): Mention alloca.c, so
it'll get included in disties.
1997-04-19 13:25:09 +00:00
Jim Blandy
2b6b80bc0b * alloca.c: New file, needed to support the AC_FUNC_ALLOCA call in
configure.in.  Including this might cause problems if applications
that link against libguile include their own copies of alloca, but
if they're using autoconf, they should be adding libguile to LIBS
before calling AC_FUNC_ALLOCA anyway, in which case they'll find
the copy in libguile, and things will be okay.  (I think.)
1997-02-07 22:37:10 +00:00