This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/14004] seekg/eof problem: reading from a file twice fails
- From: "jens dot auer at betaversion dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Feb 2004 19:26:40 -0000
- Subject: [Bug libstdc++/14004] seekg/eof problem: reading from a file twice fails
- References: <20040203184433.14004.jens.auer-bugzilla@betaversion.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From jens dot auer at betaversion dot net 2004-02-03 19:26 -------
Subject: Re: seekg/eof problem: reading from a file
twice fails
On 3 Feb 2004 19:06:12 -0000
"pcarlini at suse dot de" <gcc-bugzilla@gcc.gnu.org> wrote:
> ------- Additional Comments From pcarlini at suse dot de 2004-02-03
> 19:06 ------- Not a bug. This is the correct behavior, mandated by the
> standard which is now tracked *much* more closely than before (in
> particolar iostreams have been*completely* rewritten for gcc3.x)
Thank you for your fast answer.
Is it also not a bug when I call clear() after seekg()? The eof-bit gets
set to 0, but reading still doesn`t work.
Regards
Jens
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14004