diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2002-04-03 02:32:52 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2002-04-03 02:32:52 +0000 |
commit | 40e5b283996d0f4856d7c530caf390f2e0c86daf (patch) | |
tree | 6251cfb06881554892dd18eece7ba47087929eaa /libstdc++-v3/src/ios.cc | |
parent | 7a145e929d4f1df9043baf5a26e991629ce077dc (diff) | |
download | gcc-40e5b283996d0f4856d7c530caf390f2e0c86daf.tar.gz |
ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/5268
* src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
* testsuite/27_io/ios_init.cc (tests04): Add test.
libstdc++/3983
* include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
(basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
* include/bits/basic_ios.tcc: Same. Remove outdated comments.
* include/bits/istream.tcc: Use _M_fctype, make consistent with
ostream.
* testsuite/27_io/ios_init.cc (tests03): Add test.
From-SVN: r51777
Diffstat (limited to 'libstdc++-v3/src/ios.cc')
-rw-r--r-- | libstdc++-v3/src/ios.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libstdc++-v3/src/ios.cc b/libstdc++-v3/src/ios.cc index d13ff0e73cf..0aab0a25a3a 100644 --- a/libstdc++-v3/src/ios.cc +++ b/libstdc++-v3/src/ios.cc @@ -190,16 +190,10 @@ namespace std // Explicitly call dtors to free any memory that is dynamically // allocated by filebuf ctor or member functions, but don't // deallocate all memory by calling operator delete. - cout.flush(); - cerr.flush(); - clog.flush(); buf_cout.~filebuf(); buf_cin.~filebuf(); buf_cerr.~filebuf(); #ifdef _GLIBCPP_USE_WCHAR_T - wcout.flush(); - wcerr.flush(); - wclog.flush(); buf_wcout.~wfilebuf(); buf_wcin.~wfilebuf(); buf_wcerr.~wfilebuf(); |