From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21592 invoked by alias); 8 May 2003 11:27:49 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 21568 invoked by uid 48); 8 May 2003 11:27:48 -0000 Date: Thu, 08 May 2003 11:27:00 -0000 Message-ID: <20030508112748.21567.qmail@sources.redhat.com> To: daniel.lemire@nrc.gc.ca, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, paolo@gcc.gnu.org From: paolo@gcc.gnu.org Reply-To: paolo@gcc.gnu.org, daniel.lemire@nrc.gc.ca, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, paolo@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: libstdc++/10674: fstream fails to open files in in/out mode if file doesn't exist X-SW-Source: 2003-05/txt/msg00604.txt.bz2 List-Id: 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