This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++/10674: fstream fails to open files in in/out mode if file doesn't exist
- From: paolo at gcc dot gnu dot org
- To: daniel dot lemire at nrc dot gc dot ca, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, paolo at gcc dot gnu dot org
- Date: 8 May 2003 11:27:48 -0000
- Subject: Re: libstdc++/10674: fstream fails to open files in in/out mode if file doesn't exist
- Reply-to: paolo at gcc dot gnu dot org, daniel dot lemire at nrc dot gc dot ca, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, paolo at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
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