This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Runtime memory problem
- To: richard dot l dot grubb at boeing dot com
- Subject: Re: Runtime memory problem
- From: Gary Houston <ghouston at freewire dot co dot uk>
- Date: 20 Sep 1999 21:43:24 -0000
- CC: guile at sourceware dot cygnus dot com
- References: <37E68A6F.9135B729@boeing.com>
| I just tried compiling guile-1.3.2 on AIX-4.3.2 with gcc-2.95.
| Everything seemed to run ok. But when I type "guile-config link" or just
| "guile-config" I get the following error messages.
|
| ERROR: In procedure scm_ungetc:
| ERROR: Memory allocation error
|
| Any ideas on how to fix this?
libguile/ports.c:scm_ungetc should contain something like:
/* switch to the put-back buffer. */
{
if (pt->putback_buf == NULL)
{
pt->putback_buf = (char *) malloc (SCM_INITIAL_PUTBACK_BUF_SIZE);
In guile 1.3.2 the argument to malloc was incorrect.