diff options
author | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2000-07-26 06:51:38 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2000-07-26 06:51:38 +0000 |
commit | 5780a46bcae17e818621eb71d91b067eda11ce10 (patch) | |
tree | a9919fcb1d033bf6ff836a8e87b4e1f17d8ec88e /libstdc++-v3/bits/std_streambuf.h | |
parent | 44fc6a025a220f9db7ac0c44beba3b922b04588e (diff) | |
download | gcc-5780a46bcae17e818621eb71d91b067eda11ce10.zip gcc-5780a46bcae17e818621eb71d91b067eda11ce10.tar.gz gcc-5780a46bcae17e818621eb71d91b067eda11ce10.tar.bz2 |
configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL.
2000-07-25 Benjamin Kosnik <bkoz@gnu.org>
* configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. Change
it back for current versions of maintainer-tools...
* acinclude.m4: Some cleanups...
* aclocal: Regenerated.
* configure: Regenerated.
* src/Makefile.am (CXXLINK): Add -Wl,-01 to the link line for
optimizing/adapting the hash table using GNU ld.
* src/Makefile.in: Regenerate.
* bits/std_fstream.h: Parameterize __basic_file.
* config/c_io_libio.cc: Add wchar_t methods for parameterization.
* bits/basic_file.h: Same here.
* bits/fstream.tcc: Shorten __retval to __ret.
* bits/ostream.tcc: Same.
* bits/sbuf_iter.h: Same.
* bits/sstream.tcc: Same.
* bits/streambuf.tcc: Same.
* bits/std_fstream.h: Same.
* src/string-inst.cc: Same.
* src/ios.cc: Same.
* config/c_io_libio.cc: Same.
* bits/string.tcc: Same.
* bits/std_streambuf.h: Same.
From-SVN: r35262
Diffstat (limited to 'libstdc++-v3/bits/std_streambuf.h')
-rw-r--r-- | libstdc++-v3/bits/std_streambuf.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/libstdc++-v3/bits/std_streambuf.h b/libstdc++-v3/bits/std_streambuf.h index 35e214c..e473af5 100644 --- a/libstdc++-v3/bits/std_streambuf.h +++ b/libstdc++-v3/bits/std_streambuf.h @@ -232,12 +232,12 @@ namespace std { bool _M_is_indeterminate(void) { - bool __retval = false; + bool __ret = false; if (_M_mode & ios_base::in) - __retval = _M_in_beg == _M_in_cur && _M_in_cur == _M_in_end; + __ret = _M_in_beg == _M_in_cur && _M_in_cur == _M_in_end; if (_M_mode & ios_base::out) - __retval = _M_out_beg == _M_out_cur && _M_out_cur == _M_out_end; - return __retval; + __ret = _M_out_beg == _M_out_cur && _M_out_cur == _M_out_end; + return __ret; } public: @@ -294,21 +294,21 @@ namespace std { streamsize in_avail() { - streamsize __retval; + streamsize __ret; if (_M_in_cur && _M_in_cur < _M_in_end) { if (_M_pback_init) { int_type __save_len = _M_pback_end_save - _M_pback_cur_save; int_type __pback_len = _M_in_cur - _M_pback; - __retval = __save_len - __pback_len; + __ret = __save_len - __pback_len; } else - __retval = this->egptr() - this->gptr(); + __ret = this->egptr() - this->gptr(); } else - __retval = this->showmanyc(); - return __retval; + __ret = this->showmanyc(); + return __ret; } int_type @@ -324,12 +324,12 @@ namespace std { int_type sgetc() { - int_type __retval; + int_type __ret; if (_M_in_cur && _M_in_cur < _M_in_end) - __retval = traits_type::to_int_type(*gptr()); + __ret = traits_type::to_int_type(*gptr()); else - __retval = this->underflow(); - return __retval; + __ret = this->underflow(); + return __ret; } streamsize @@ -457,18 +457,18 @@ namespace std { virtual int_type uflow() { - int_type __retval = traits_type::eof(); - bool __testeof = this->underflow() == __retval; + int_type __ret = traits_type::eof(); + bool __testeof = this->underflow() == __ret; bool __testpending = _M_in_cur && _M_in_cur < _M_in_end; if (!__testeof && __testpending) { - __retval = traits_type::to_int_type(*_M_in_cur); + __ret = traits_type::to_int_type(*_M_in_cur); ++_M_in_cur; if (_M_buf_unified && _M_mode & ios_base::out) ++_M_out_cur; } - return __retval; + return __ret; } // Putback: |