libstdc++/7172: fstream object cannot be read from a second file after first file is closed

pme@gcc.gnu.org pme@gcc.gnu.org
Mon Jul 1 15:36:00 GMT 2002


Synopsis: fstream object cannot be read from a second file after first file is closed

State-Changed-From-To: open->closed
State-Changed-By: pme
State-Changed-When: Mon Jul  1 15:36:33 2002
State-Changed-Why:
    Not a bug.  Your code must clear the stream before reuse:
    
    http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#4_4_iostreamclear

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7172



More information about the Gcc-bugs mailing list