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]

[Bug libstdc++/24206] cin.rdbuf->in_avail() always return 0



------- 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


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