Inform 6.21 patch to veneer.c ----------------------------- With an addendum from Jon Ripley, see below. As reported by Michael Baum in his post to rec.arts.int-fiction on 1999/05/05, the following patch by Andrew Plotkin/ Torbjörn Andersson cures two bugs which affect Inform 6/21 on some platforms: a memory error when compiling game files a bug affecting the debug switch. Replace lines 246 through 252 with: if (n==1) {\ #ifdef DEBUG;n=debug_flag & 1; debug_flag=debug_flag-n;#endif;\ print \"[ ~\", (name) obj, \"~.\", (property) id, \"(\";\ switch(y) { 1: print a; 2: print a,\",\",b; 3: print a,\",\",b,\",\",c;\ 4: print a,\",\",b,\",\",c,\",\",d;\ 5: print a,\",\",b,\",\",c,\",\",d,\",\",e;\ 6: print a,\",\",b,\",\",c,\",\",d,\",\",e,\",\",f; }\ print \") ]^\";\ #ifdef DEBUG;debug_flag = debug_flag + n;#endif;\ }", The memory error was caused by the lack of the comma found at the end of the patch. I have tested the patch under Sun Solaris, and it does appear to cure the bugs. D.J. Picton Addendum from Jon Ripley mailto:jon@stryker.freeserve.co.uk : There were two spurious linefeeds in the original release of this patch which prevented the C code from being compiled. This has been fixed and veneer.c should now compile without problems on all platforms. Jon Ripley