[RFC/Patch] What about using seekoff(-1, ...) for unbuffered underflow?

Paolo Carlini pcarlini@unitus.it
Fri Jun 6 22:40:00 GMT 2003


Paolo Carlini wrote:

> ... however, I like even more the below, slightly simpler and which 
> definitely
> keeps pbackfail working correctly (I will prepare a testcase for this, 
> anyway). 

Actually, I believe a slight change is needed for pbackfail, in order to
correctly return to the normal unbuffered situation after a sequence
sgetc - putback.

I will therefore test the below together with some tests for unbuffered 
pback.

Paolo.

///////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_prop4
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20030606/52a1a720/attachment.ksh>


More information about the Libstdc++ mailing list