This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/16655] Segmentation fault in the std::ofstream destructor
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jul 2004 09:30:19 -0000
- Subject: [Bug libstdc++/16655] Segmentation fault in the std::ofstream destructor
- References: <20040721094933.16655.Serguei.Kolos@cern.ch>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pcarlini at suse dot de 2004-07-30 09:30 -------
Indeed, assuming the analysis is correct, the bug should be fixed also in 3.3.x,
since __basic_file<char>::close() sets _M_cfile = 0 even when fclose fails: 2.
does not hold.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16655