This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


>     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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]