This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]