diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2018-05-14 19:57:45 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2018-05-14 19:57:45 +0100 |
commit | e77497ab777d3dfa19224648d658220807ab7419 (patch) | |
tree | d5fba065c2bb36115f0dd1d56dfcc530062c568d /include/sha1.h | |
parent | 10c54e5b0e098b5b1e7a0b79716bc113fe96c45e (diff) | |
download | gcc-e77497ab777d3dfa19224648d658220807ab7419.zip gcc-e77497ab777d3dfa19224648d658220807ab7419.tar.gz gcc-e77497ab777d3dfa19224648d658220807ab7419.tar.bz2 |
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.
From-SVN: r260236
Diffstat (limited to 'include/sha1.h')
0 files changed, 0 insertions, 0 deletions