mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-24 09:08:56 +08:00
cd96b185c5
2003-05-07 Paolo Carlini <pcarlini@unitus.it> * include/std/std_fstream.h (_M_is_indeterminate): Remove. * src/fstream.cc (basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either there is no buffer or __testget == !__testinit. * src/fstream.cc (basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate() automatically sets, if appropriate, _M_out_cur == _M_in_cur. * include/std/std_fstream.h (_M_destroy_pback): Don't set unnecessarily _M_pback_cur_save and _M_pback_end_save. * include/std/std_fstream.h (_M_set_determinate): Minor tweak. * include/std/std_sstream.h (_M_sync): Minor tweak. * include/bits/fstream.tcc (close): No need to call _M_destroy_pback, setting _M_pback_init to false suffices to clean up. From-SVN: r66557 |
||
---|---|---|
.. | ||
codecvt.cc | ||
complex_io.cc | ||
concept-inst.cc | ||
ctype.cc | ||
demangle.cc | ||
ext-inst.cc | ||
fstream-inst.cc | ||
fstream.cc | ||
functexcept.cc | ||
globals.cc | ||
io-inst.cc | ||
ios.cc | ||
istream-inst.cc | ||
limits.cc | ||
locale-inst.cc | ||
locale.cc | ||
localename.cc | ||
Makefile.am | ||
Makefile.in | ||
misc-inst.cc | ||
ostream-inst.cc | ||
sstream-inst.cc | ||
stdexcept.cc | ||
stl-inst.cc | ||
streambuf-inst.cc | ||
string-inst.cc | ||
strstream.cc | ||
valarray-inst.cc | ||
wstring-inst.cc |