[Ecls-list] Two more important fixes

Juan Jose Garcia Ripoll worm at arrakis.es
Wed Mar 12 02:03:07 UTC 2003


I have committed a rather innocent fix and another one which may uncover new 

Fix 1: The compiler might end up in an infinite loop when trying to use 
compiler-macros which decide not to expand their arguments.

Fix 2: DLLs are now garbage collected. For instance, if you do
	> (COMPILE 'FOO '(LAMBDA (x) (COS x)))
ECL will invoke the compiler and create a DLL for the definition of FOO. But 
if you remove this definition
	> (DEFUN FOO (x))
then, with a bit of luck, this will trigger a finalization procedure for the 
	> (GC T)
which unloads it.

Fix 3: Streams now also have a termination procedure which closes them when 
they are reclaimed by the garbage collector.

For those which like verbose LISPs, uncomment the two lines in src/c/alloc_2.d 
to get messages when libraries are unloaded. Best regards,


More information about the ecl-devel mailing list