guile-user
[Top][All Lists]
Advanced

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

Re: closing string output ports?


From: Nic Ferrier
Subject: Re: closing string output ports?
Date: 07 Oct 2003 20:54:54 +0100

Marius Vollmer <address@hidden> writes:

> Kevin Ryde <address@hidden> writes:
> 
> > It looks like one isn't meant to close a string port before getting
> > the result.  The manual doesn't seem to say anything about that
> > though.
> 
> I think it would be useful to be able to get the output string even
> after the port has been closed.  No?


I don't really care about any of that, I just want to know what the
correct procedure should be for a virtual port. Should the virtual
port (close) the underlying port?

This is not documented.

Right now, if the underlying port is closed by the virtual port I get
an exception. 

This seems wrong, it seems like virtual ports should close the
underlying ports... but what do I know?


Nic





reply via email to

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