Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!athena.mit.edu!rlcarr From: rlcarr@athena.mit.edu (Rich Carreiro) Newsgroups: comp.sys.amiga.tech Subject: Re: New Lattice patch Message-ID: <10023@bloom-beacon.MIT.EDU> Date: 22 Mar 89 14:12:31 GMT References: <10015@bloom-beacon.MIT.EDU> <16017@oberon.USC.EDU> Sender: daemon@bloom-beacon.MIT.EDU Reply-To: rlcarr@athena.mit.edu (Rich Carreiro) Organization: Massachusetts Institute of Technology Lines: 36 In article <16017@oberon.USC.EDU> papa@pollux.usc.edu (Marco Papa) writes: ]In article <10015@bloom-beacon.MIT.EDU] rlcarr@athena.mit.edu (Rich Carreiro) writes: ]]On the Lattice BBS I found the following new patch files ]]in the Fixes directory: ]]FCLOSE.ARC ]]The readme file in the archive says that this patches fclose() in ]]lc.lib, lcs.lib, lcr.lib, lcsr.lib, lcnb.lib, and lcsnb.lib(?). ]]It also said that the original fclose() did not deallocate system resources ]]properly. ] ]Are these patches for people that already have installed the previous patches ]to make Lattice C 5.02? ] Yes. On the LBBS it said that the FCLOSE.ARC file was for Amiga Lattice C Version 5.02. So, you want it even if you've already installed the 5.0=>5.02 patch. Also, remember to pick up LCMSR.LIB from the LBBS (or maybe BIX ?) since they forgot to put that in the patch. There are also at least 2 header file bugs: 1) no prototype for rand() in stdlib.h 2) proto/icon.h (I think) says that AllocWBObject() returns a 'struct WBObject' when it really returns 'struct WBObject *' (according to workbench/icon.h [I think]) 3) proto/icon.h says AddFreeList() returns a long, but it is declared as returning a VOID in workbench/icon.h I discovered the last two bugs when recompiling a program from Amigan A&J called chatty. I got Error 72's (redeclaration) for some things and by eliminating proto files one by each, figured out where the error was. ******************************************************************************* * Rich Carreiro "Back off man, I'm a scientist." * * rlcarr@athena.mit.edu - Dr. Peter Venkman * *******************************************************************************