This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
libstdc++/5629: fstream class is unable to create file in a read/write mode
- From: apakhomov at secant dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 7 Feb 2002 22:25:09 -0000
- Subject: libstdc++/5629: fstream class is unable to create file in a read/write mode
- Reply-to: apakhomov at secant dot com
>Number: 5629
>Category: libstdc++
>Synopsis: fstream class is unable to create file in a read/write mode
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 07 14:26:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Alex Pakhomov, Secant Technologies
>Release: gcc 3.0.3
>Organization:
>Environment:
Red Hat 6.2, kernel 2.2.14 on i686
>Description:
The fstream class when created in "ios::in|ios::out" mode does not create a file. Works OK when compiled w/gcc 2.95.3
>How-To-Repeat:
Compile the attached file, run the binary and see if there is "test.tmp" file containing "This is a test" line appears in the current directory
>Fix:
?
>Release-Note:
>Audit-Trail:
>Unformatted: