[Bug libstdc++/14004] seekg/eof problem: reading from a file twice fails

jens dot auer at betaversion dot net gcc-bugzilla@gcc.gnu.org
Tue Feb 3 19:26:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list