This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++/5799: streams reading from fifo (regression???)
- From: Pal Benko <benko at sztaki dot hu>
- To: rodrigc at gcc dot gnu dot org, benko at sztaki dot hu, gcc-bugs at gcc dot gnu dot org,gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
- Cc: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: Wed, 13 Mar 2002 09:28:30 +0100
- Subject: Re: libstdc++/5799: streams reading from fifo (regression???)
>From benko Wed Mar 13 09: 28 MET 2002
References: <20020303033755.14193.qmail@sources.redhat.com>
Please re-open the bugreport.
Yours is certainly a better test case.
Perhaps it's unfair to call it a regression, but the fact is that
compiling with 2.95.3 (with the old libstdc++) gets this right.
The problem is that if I read from a named pipe through an ifstream, I
can read only when the buffer is full or the pipe is closed, but
cannot read when the pipe is just flushed on the writing side.
Regards,
Pal Benko