libstdc++/5799: streams reading from fifo (regression???)
Pal Benko
benko@sztaki.hu
Wed Mar 13 00:36:00 GMT 2002
The following reply was made to PR libstdc++/5799; it has been noted by GNATS.
From: Pal Benko <benko@sztaki.hu>
To: rodrigc@gcc.gnu.org, benko@sztaki.hu, gcc-bugs@gcc.gnu.org,
gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Cc: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org
Subject: Re: libstdc++/5799: streams reading from fifo (regression???)
Date: Wed, 13 Mar 2002 09:28:30 +0100
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
More information about the Gcc-prs
mailing list