[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: [ID 19991224.002] Truncate does not flush the output buffer before



On Wed, Dec 29, 1999 at 10:22:41PM +0000, Nick Ing-Simmons wrote:
> >> I thought p5p agreed it made sense, and that SIFO did (it to some extent)
> >> already. We just have not done it yet.
> >
> >Glad to hear that there is some progress.  However, I do not
> >*remember* any progress.  What exactly do you mean?  Are there flags
> >on a filehandle "buffer may be active", "last action was write/read"?
> >[I do not understand how something may be done without these flags.]
> 
> SFIO's equivalent of FILE * does indeed have those flags.
> So iff PerlIO == SFIO so does perl - but I mean the 'and only if' :-(

Since we have an IO level *above* SFIO, and the read/write flags
should be active on sysread/syswrite operations too, so we need to
able to freely check/set/reset these flags, SvIO (sp?) is where the
flags should be stored.  (Of course, add "IMO" wherever appropriate.)

Ilya


Follow-Ups from:
Nick Ing-Simmons <nik@tiuk.ti.com>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]