libstdc++/10674: fstream fails to open files in in/out mode if file doesn't exist

paolo@gcc.gnu.org paolo@gcc.gnu.org
Thu May 8 11:31:00 GMT 2003


Synopsis: fstream fails to open files in in/out mode if file doesn't exist

Responsible-Changed-From-To: unassigned->paolo
Responsible-Changed-By: paolo
Responsible-Changed-When: Thu May  8 11:27:48 2003
Responsible-Changed-Why:
    .
State-Changed-From-To: open->closed
State-Changed-By: paolo
State-Changed-When: Thu May  8 11:27:48 2003
State-Changed-Why:
    Definitely, not a bug. Current libstdc++ strictly conforms
    to the ISO standard, and 27.8.1.3,2 says the in|out is
    equivalent to C library "r+", that is file _must_ exist.
    Thanks for your report.

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



More information about the Gcc-bugs mailing list