This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/12048] [3.4 Regression] unget does not work
- From: "peturr02 at ru dot is" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Aug 2003 10:05:15 -0000
- Subject: [Bug libstdc++/12048] [3.4 Regression] unget does not work
- References: <20030825035409.12048.poschmid@peem.als.lbl.gov>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12048
------- Additional Comments From peturr02 at ru dot is 2003-08-26 10:05 -------
> // Derived from libstdc++/12048 by LJR. Exercise for the reader to
> // figure out how to get this interactive test into our dejagnu...
The easiest way is to reopen stdin using either freopen or open + dup2.
> // Rewriting the test to use an opened fstream displays no failure...
That's not surprising, since cin is unrelated to fstream.