[comp.sys.amiga.tech] New Lattice patch

rlcarr@athena.mit.edu (Rich Carreiro) (03/22/89)

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.

ARPA:    rlcarr@athena.mit.edu
UUCP:    ...!mit-eddie!mit-athena!rlcarr
BITNET:  rlcarr%athena.mit.edu@MITVMA.mit.edu

*******************************************************************************
* Rich Carreiro                 "Back off man, I'm a scientist."              *
* rlcarr@athena.mit.edu                - Dr. Peter Venkman                    *
*******************************************************************************

papa@pollux.usc.edu (Marco Papa) (03/22/89)

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?

-- Marco Papa 'Doc'
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
uucp:...!pollux!papa       BIX:papa       ARPAnet:pollux!papa@oberon.usc.edu
 "There's Alpha, Beta, Gamma and Diga!" -- Leo Schwab [quoting Rick Unland]
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

rlcarr@athena.mit.edu (Rich Carreiro) (03/22/89)

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

jeff@cpoint.UUCP (Jeffrey J. Griglack) (03/23/89)

Speaking of Lattice patches, is there any word of a patch to CPR so
it won't crash when you try to open a window?  I didn't follow all the
discussion on it here, but I tried it at home and have reverted to 
version 1.0 (released with C 5.0).  Please mail me any replies.

Thanks.
-- 
=============================================================================
				Jeff Griglack
		{decvax, cybbax0, mirror}!frog!cpoint!jeff
=============================================================================