Commit b7bb6d4a by Paolo Carlini Committed by Paolo Carlini

ostream.tcc (sentry::sentry): Improve performance-wise the fix for libstdc++/9563.

2003-02-13  Paolo Carlini  <pcarlini@unitus.it>

	* include/bits/ostream.tcc (sentry::sentry): Improve
	performance-wise the fix for libstdc++/9563.

From-SVN: r62855
parent 047d636f
2003-02-13 Paolo Carlini <pcarlini@unitus.it>
* include/bits/ostream.tcc (sentry::sentry): Improve
performance-wise the fix for libstdc++/9563.
2003-02-12 Phil Edwards <pme@gcc.gnu.org> 2003-02-12 Phil Edwards <pme@gcc.gnu.org>
* config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration. * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
......
...@@ -44,7 +44,7 @@ namespace std ...@@ -44,7 +44,7 @@ namespace std
: _M_os(__os) : _M_os(__os)
{ {
// XXX MT // XXX MT
if (__os.good() && __os.tie()) if (__os.tie() && __os.good())
__os.tie()->flush(); __os.tie()->flush();
if (__os.good()) if (__os.good())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment