bug-guile
[Top][All Lists]
Advanced

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

bug#24816: Bug in (rnrs io ports) procedure open-string-output-port


From: Andy Wingo
Subject: bug#24816: Bug in (rnrs io ports) procedure open-string-output-port
Date: Wed, 01 Mar 2017 14:26:50 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

On Sat 29 Oct 2016 12:29, Freja Nordsiek <address@hidden> writes:

> The "open-string-output-port" procedure in (rnrs io ports) returns two
> values, a string port and a thunk that returns a string of the
> characters written to the port so far. In the R6RS standard documents,
> the reading procedure is destructive, in that it clears all the
> characters written to the port so far (though, it does not close it,
> so it can still be used). However, in Guile 2.1.4, the characters are
> not cleared and so running the thunk again immediately afterwards will
> produce the same output, which is a bug.

Thanks for the report; fixed in git.  Cheers :)

Andy





reply via email to

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