Permalink
Browse files

Merge "Bugfix: == vs = mixup."

  • Loading branch information...
digit-android authored and Android (Google) Code Review committed Sep 15, 2011
2 parents a629022 + 4fdc136 commit a6734e0645fce81c9610de0488b729207bfa576e
Showing with 1 addition and 1 deletion.
  1. +1 −1 stlport/stl/_fstream.c
View
@@ -84,7 +84,7 @@ basic_filebuf<_CharT, _Traits>::close() {
if (_M_in_output_mode) {
__ok = __ok && !_Traits::eq_int_type(this->overflow(traits_type::eof()),
traits_type::eof());
- __ok == __ok && this->_M_unshift();
+ __ok = __ok && this->_M_unshift();
}
else if (_M_in_input_mode)
this->_M_exit_input_mode();

0 comments on commit a6734e0

Please sign in to comment.