[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] Small fix to stabilize behavior [Was: Re:
From: |
Peter Bex |
Subject: |
Re: [Chicken-hackers] [PATCH] Small fix to stabilize behavior [Was: Re: [PATCH] limit number of live finalizers] |
Date: |
Sat, 23 Jun 2012 19:54:28 +0200 |
User-agent: |
Mutt/1.4.2.3i |
On Sat, Jun 23, 2012 at 07:51:08PM +0200, Peter Bex wrote:
> Here's a patch that made one test function correctly. The test is my
> own simplified version of Megane's test:
>
> (let lp ((x (list 1 2 3)))
> (set-finalizer! x (lambda _ #f))
> (lp (list 1 2 3)))
This patch also resolves #723; that test program no longer crashes with
this patch (which it does without).
Cheers,
Peter
--
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
is especially attractive, not only because it can be economically
and scientifically rewarding, but also because it can be an aesthetic
experience much like composing poetry or music."
-- Donald Knuth