libstdc++/10097: filebuf::underflow drops characters.

Pétur Runólfsson peturr02@ru.is
Sat Mar 15 18:53:00 GMT 2003


>     Confirmed. Pétur, looks like this makes for a good testcase
>     for your suggestion to add:
>     
>     if (gptr() < egptr())
>       return *gptr();
>     
>     on top of underflow, right?

Yes.

Petur



More information about the Gcc-bugs mailing list