OSDN Git Service

2006-07-03 Ian Lance Taylor <ian@airs.com>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Jul 2006 17:31:46 +0000 (17:31 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Jul 2006 17:31:46 +0000 (17:31 +0000)
commit312edb4768445003bca124bb8137feb0cc630c22
tree93211a6c9a8464863e08785ae2d8e30d52fba091
parentd34ffc250e439c25b64ba64f7f9af27081657e5b
2006-07-03  Ian Lance Taylor  <ian@airs.com>
    Paolo Carlini  <pcarlini@suse.de>

* include/ext/rc_string_base.h (__rc_string_base::_S_max_size):
Increase by a factor of two.
* include/ext/sso_string_base.h (__sso_string_base::_S_max_size):
Likewise.

2006-07-03  Paolo Carlini  <pcarlini@suse.de>

* include/ext/sso_string_base.h (__sso_string_base::_M_create): Never
allocate a string bigger than _S_max_size.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115155 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/rc_string_base.h
libstdc++-v3/include/ext/sso_string_base.h