[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: port-for-each vs lazy sweep
From: |
Han-Wen Nienhuys |
Subject: |
Re: port-for-each vs lazy sweep |
Date: |
Mon, 3 Sep 2007 21:34:56 +0200 |
Hi,
unfortunately, I'm traveling these two weeks, so I have little
opportunity to look at this right now.
2007/9/3, Ludovic Courtès <address@hidden>:
> Hi Han-Wen,
>
> Han-Wen Nienhuys <address@hidden> writes:
>
> > Applied, with corrections.
>
> I noticed the (supposedly related) regression compared to 1.8. Consider
> this program:
>
> (define p (open-output-file "TEST-FILE"))
>
> (setvbuf p _IOFBF 16384)
>
> (write "hello" p)
>
> When running it with "guile-1.8 the-program.scm", `TEST-FILE' contains
> the string "hello" upon completion. However, with HEAD, `TEST-FILE' is
> empty.
>
> Can you try to see if it somehow relates to your patch?
>
> (I suspect that ports used to be flushed when reclaimed, which is no
> longer the case with the weak hash table.)
>
> Thanks in advance,
> Ludovic.
>
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen