r260236 - in /trunk/libstdc++-v3: ChangeLog inc...

redi@gcc.gnu.org redi@gcc.gnu.org
Mon May 14 18:57:00 GMT 2018


Author: redi
Date: Mon May 14 18:57:45 2018
New Revision: 260236

URL: https://gcc.gnu.org/viewcvs?rev=260236&root=gcc&view=rev
Log:
PR libstdc++/81256 fix exception handling in basic_filebuf::close

	PR libstdc++/81256
	* include/bits/fstream.tcc (basic_filebuf::close): Do not swallow
	exceptions from _M_terminate_output().
	* include/std/fstream (basic_filebuf::~basic_filebuf): Swallow any
	exceptions from close().
	* testsuite/27_io/basic_filebuf/close/81256.cc: New.

Added:
    trunk/libstdc++-v3/testsuite/27_io/basic_filebuf/close/81256.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/fstream.tcc
    trunk/libstdc++-v3/include/std/fstream



More information about the Libstdc++-cvs mailing list