[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tasks call-with-output-string segv
From: |
Rob Browning |
Subject: |
Re: tasks call-with-output-string segv |
Date: |
Fri, 12 Sep 2003 21:45:50 -0500 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) |
Kevin Ryde <address@hidden> writes:
> I added to the todo list under 1.6 from what Nic Ferrier reported on
> guile-user,
>
> - call-with-output-string seg faults if its port is closed, eg.
> (call-with-output-string close-port)
> What should happen? Should this be an error, or should it be
> possible to get the string out of a closed string port?
> [Same situation in the cvs head.]
>
>
> I don't know what call-with-output-string ought to do in this case,
> but a segv is certainly not it :-).
Offhand, I'd guess some kind of exception would be in order.
--
Rob Browning
rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4