+2003-04-17 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/std/std_streambuf.h (setp): _M_out_lim, being
+ the end limit of used put area, is set equal to _M_out_beg.
+
2003-04-16 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_CHECK_PCH): New.
char_type* _M_out_cur; // Current put area.
char_type* _M_out_end; // End of put area.
+ //@{
+ /**
+ * @if maint
+ * _M_set_indeterminate and setp set it equal to _M_out_beg, then
+ * at each put operation it may be moved forward (toward _M_out_end)
+ * by _M_out_cur_move.
+ * @endif
+ */
char_type* _M_out_lim; // End limit of used put area.
//@}
void
setp(char_type* __pbeg, char_type* __pend)
{
- _M_out_beg = _M_out_cur = __pbeg;
- _M_out_end = _M_out_lim = __pend;
+ _M_out_beg = _M_out_cur = _M_out_lim = __pbeg;
+ _M_out_end = __pend;
if (!(_M_mode & ios_base::out) && __pbeg && __pend)
_M_mode = _M_mode | ios_base::out;
}