[Bug libstdc++/21286] [4.0/4.1 Regression] filebuf::xsgetn vs pipes

pcarlini at suse dot de gcc-bugzilla@gcc.gnu.org
Mon Jul 18 12:46:00 GMT 2005


------- Additional Comments From pcarlini at suse dot de  2005-07-18 12:28 -------
> I'm wondering why this problem does not break tons of code,

Just read the audit trail, about that. In particular my comment #3: portable C++
code using pipes has better being very very careful with short reads, because
the current Standard is way too vague in this area (improvements in system
programming support are certainly planned for C++0x).

That said, the next 3.4.x is not scheduled for tomorrow, we shall fix it in time,
don't worry. By the way, I would suggest pronouncing "broken" using the same 
intonation of Martin Landau's Bela Lugosi in Ed Wood: "Beware, beware... broken,
broken..." ;)

-- 


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



More information about the Gcc-bugs mailing list