[Bug c++/21286] GNU extension stdio_filebuf problems when reading from pipe

2005-04-29 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2005-04-29 17:28 --- Indeed, this is easily explained considering that we have a new optimization that issues larger underlying read sys-calls (have a look to xsgetn in fstream.tcc to see what I mean): when everything goes well ;) are

[Bug c++/21286] GNU extension stdio_filebuf problems when reading from pipe

2005-04-29 Thread ralfixx at gmx dot de
--- Additional Comments From ralfixx at gmx dot de 2005-04-29 15:58 --- (From update of attachment 8765) The last paragraph in the attachted file is wrong, the bug is reproducable on linux now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21286

[Bug c++/21286] GNU extension stdio_filebuf problems when reading from pipe

2005-04-29 Thread ralfixx at gmx dot de
--- Additional Comments From ralfixx at gmx dot de 2005-04-29 15:56 --- Created an attachment (id=8765) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8765&action=view) C++ source file to show the problem g++ -o t400 t.cxx usage: t400 [blocksize] t400 reads all input and counts the