guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: port-for-each vs lazy sweep


From: Kevin Ryde
Subject: Re: port-for-each vs lazy sweep
Date: Thu, 23 Aug 2007 10:32:32 +1000
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)

Actually I see the flush func of a soft port is entirely unused, it's
never called by a force-output because nothing is ever put in the port
buffer as such.  The manual could be clearer about what it's supposed to
be for :-(.

At any rate, I put in the failing test below for port-for-each, and I
think flush-all could benefit from the rewrite below, just on general
principles.

Attachment: ports.test.diff
Description: Text Data

Attachment: ports.c.flush-all.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]