This is the ERRATA file for Gofer 2.30b. Although Gofer is no longer under active development, I do occasionally receive bug reports or suggestions about the system that other Gofer users might benefit from. To deal with this, I have decided to make this ERRATA file available from the Gofer ftp site at Nottingham. It will be updated from time to time when new material is received. ----------------------------------------------------------------------------- [September 24, 1997] There have been reports of a space leak that occurs when Gofer is compiled with some compilers on some machines. The problem can be demonstrated by trying to evaluate an expression like [1..] or concat (map show [1..]) which should run in constant space. On some machines, however, the Gofer garbage collector hangs on to the whole string representation of the expression that is being evaluated, instead of recognizing it as garbage. As a result, the interpreter quickly runs out of heap space. The following patch has been supplied by Mike Spivey and is known to fix the problem on Intel machines using the gcc compiler (OS unknown). *** /usr/src/gofer-2.30b/src/prims.c Tue Nov 19 12:18:54 1996 --- prims.c Thu Apr 11 21:08:52 1996 *** 1775,1781 **** Cell outputString(fp,cs) /* Evaluate string cs and print */ FILE *fp; /* on specified output stream fp */ ! Cell cs; { Cell temp; for (;;) { /* keep reducing and printing head */ --- 1808,1814 ---- Cell outputString(fp,cs) /* Evaluate string cs and print */ FILE *fp; /* on specified output stream fp */ ! volatile Cell cs; { Cell temp; for (;;) { /* keep reducing and printing head */ ----------------------------------------------------------------------------- [September 9, 1997] Dario Estepario reported a problem when he tried to compile Gofer on a Linux machine: - When you try to compile with gcc, there'll be a trouble in the file machdep.c. The compiler is going to say that there're problems of type with 'TermParams', I solved this (I don't know exactly why) ,changing 'TermParams' to another name, for example, I used :'TermsParams1',this has to be only in the part where is included "sgtty.h". Maybe, this trouble that I had, was becouse another modification that I made, but if somebody were in the same situation, they'd try with this solution. ----------------------------------------------------------------------------- [March 5, 1997] Andrew Clow has provided a LaTeX version of the release notes for Gofer 2.30 in the file rel230.tex. -----------------------------------------------------------------------------