fstream.tcc (basic_filebuf::setbuf): Don't set _M_out_end, _M_set_indeterminate() does it.
2003-04-14 Paolo Carlini <pcarlini@unitus.it> * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set _M_out_end, _M_set_indeterminate() does it. From-SVN: r65582
This commit is contained in:
parent
2fcb395cd4
commit
22fc0e9ffe
@ -1,3 +1,8 @@
|
||||
2003-04-14 Paolo Carlini <pcarlini@unitus.it>
|
||||
|
||||
* include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
|
||||
_M_out_end, _M_set_indeterminate() does it.
|
||||
|
||||
2003-04-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||
|
||||
* os/hpux/ctype_inline.h: Replace with gnu-linux version.
|
||||
|
@ -428,8 +428,6 @@ namespace std
|
||||
// Step 2: Use the external array.
|
||||
this->_M_buf = __s;
|
||||
this->_M_buf_size = __n;
|
||||
// Consistently set the end of buffer pointer.
|
||||
this->_M_out_end = this->_M_buf + this->_M_buf_size;
|
||||
_M_set_indeterminate();
|
||||
}
|
||||
_M_last_overflowed = false;
|
||||
|
Loading…
Reference in New Issue
Block a user