This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Runtime memory problem


| 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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]