Skip to content
Snippets Groups Projects
Commit 2f96ae63 authored by paolo's avatar paolo
Browse files

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

	* include/bits/sstream.tcc (overflow): According to
	27.7.1.3, p5, actual output is performed by sputc(c).


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63147 138bc75d-0d04-0410-961f-82ee72b054a4
parent fae75eb4
No related branches found
No related tags found
No related merge requests found
2003-02-19 Paolo Carlini <pcarlini@unitus.it>
* include/bits/sstream.tcc (overflow): According to
27.7.1.3, p5, actual output is performed by sputc(c).
2003-02-19 Phil Edwards <pme@gcc.gnu.org>
PR libstdc++/9582
......
......@@ -105,9 +105,7 @@ namespace std
this->_M_buf_size = __len;
_M_really_sync(this->_M_in_cur - this->_M_in_beg,
this->_M_out_cur - this->_M_out_beg);
*this->_M_out_cur = traits_type::to_char_type(__c);
_M_out_cur_move(1);
__ret = __c;
__ret = this->sputc(traits_type::to_char_type(__c));
}
}
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment