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

Re: finishing output translating stream



From: Michael Sperber <sperber@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: finishing output translating stream
Date: Wed, 08 Jun 2005 09:19:41 +0200

> bear <bear@xxxxxxxxx> writes:
> 
> > On Tue, 7 Jun 2005, Shiro Kawai wrote:
> >
> >>From: Michael Sperber <sperber@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> >>Subject: Re: finishing output translating stream
> >>Date: Mon, 06 Jun 2005 17:15:57 +0200
> >>
> >>last few characters might be sitting in the character conversion
> >>buffer.
> >>
> >>But I might be able to achieve it by creating and closing a
> >>stream each time I want a complete "packet".  Though it
> >>seems to me lots of overhead, it may be doable.
> >
> > The rational alternative is, of course, an explicit flush-stream
> > call.
> 
> Indeed, but the SRFI already has this (FLUSH-OUTPUT-STREAM), which is
> why I'm confused.

I thought we were talking how flush-output-stream tells the
fact that flushing is requested to the 'translate-proc'.  
Am I missing something? 

--shiro