summaryrefslogtreecommitdiffstats
path: root/libjava/gnu/java/text
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-06 09:06:59 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-06 09:06:59 +0000
commit8a86cf44d44dcdab6ddf46e3e447f58bb79637e9 (patch)
treea61ec5e853da128ae4a816a6a9277aa4e371d323 /libjava/gnu/java/text
parenta50789c00d3718c4298a8ec5a74924fe67bcd309 (diff)
downloadppe42-gcc-8a86cf44d44dcdab6ddf46e3e447f58bb79637e9.tar.gz
ppe42-gcc-8a86cf44d44dcdab6ddf46e3e447f58bb79637e9.zip
2004-10-06 Paolo Carlini <pcarlini@suse.de>
* include/std/std_sstream.h (_M_sync): When the caller is setbuf, don't trust _M_string.capacity() to be the size of the buffer area, use _M_string.size() in this case. * testsuite/27_io/basic_stringbuf/setbuf/char/4.cc: New. * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Likewise. * include/bits/sstream.tcc (overflow): Avoid calling string::assign unnecessarily when the current _M_string is empty. 2004-10-06 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_algo.h (__reverse(bidirectional_iterator_tag)): Avoid iterator postincrement. (__rotate): Likewise. * include/bits/stl_algo.h: Minor formatting tweaks. 2004-10-06 Christopher Jefferson <caj@cs.york.ac.uk> * include/bits/stl_algo.h (__reverse(random_access_iterator_tag)): Avoid iterator postincrement; fix swapping middle element with itself on odd-length inputs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88593 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu/java/text')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud