This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/24206] cin.rdbuf->in_avail() always return 0
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Oct 2005 00:02:32 -0000
- Subject: [Bug libstdc++/24206] cin.rdbuf->in_avail() always return 0
- References: <bug-24206-10179@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pcarlini at suse dot de 2005-10-05 00:02 -------
Indeed, not a bug. Really, we cannot do better than the default behavior (0)
for the default, sync-ed, cin, cout & co, because of the issue explained in
detail in libstdc++/12077: the fix removed the non-trivial showmanyc from
stdio_sync_filebuf and thus the possibility to return something > 0 from
in_avail.
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24206