[gtkmm bugzilla] [Bug 161833] Corrections for iochannel_stream example



Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=161833
 glibmm | examples | Ver: 2.5.x





------- Additional Comments From chris cvine freeserve co uk  2004-12-29 15:16 -------
Following up from bug 138259, if the convert option is thought to be valuable,
it would be possible to retain this by having a read buffer in fdstream large
enough to take and putback six bytes (the largest space occupied by a UTF-8
character).  This would require rewriting fdstream::underflow(), but in
compensation fdstream::xsputn() could be omitted, as if a read buffer were
provided then std::streambuf::xsputn() would be adequate for the purpose.

I can provide a patch if that would be helpful (it is simple to implement), but
for an example it is a perhaps over the top.

Chris


------- You are receiving this mail because: -------
You are the assignee for the bug.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]