[Bug libstdc++/12077] wcin.rdbuf()->in_avail() return value too high

peturr02 at ru dot is gcc-bugzilla@gcc.gnu.org
Fri Mar 19 08:39:00 GMT 2004


------- Additional Comments From peturr02 at ru dot is  2004-03-19 08:39 -------
> ... so, shall I add to stdio_sync_filebuf a non-trivial imbue and tweak
> showmanyc consistently, similarly to basic_filebuf?!?

There's no way to find out the conversion used by the underlying FILE*, so
the only reasonable thing to do is to return 0 from showmanyc.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12077



More information about the Gcc-bugs mailing list