aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-01 18:11:11 +0000
committerngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-01 18:11:11 +0000
commit3418a277d8359ac10ba0ccc047b9189d8f5f6fe3 (patch)
treee8669bf9082e68dc7a1dd54f8e825f2f1d528edc /ChangeLog
parentbc1d7b16490fecd019aa19e9cdc84a2d77af429f (diff)
downloadruby-3418a277d8359ac10ba0ccc047b9189d8f5f6fe3.tar.gz
* string.c: Partially reverts r55547 and r55555.
ChangeLog about the reverted changes are also deleted in this file. [Bug #12536] [ruby-dev:49699] [ruby-dev:49702] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog22
1 files changed, 6 insertions, 16 deletions
diff --git a/ChangeLog b/ChangeLog
index 6d20e34d70..a1b3c2a8f1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sat Jul 2 03:09:27 2016 Naohisa Goto <ngotogenome@gmail.com>
+
+ * string.c: Partially reverts r55547 and r55555.
+ ChangeLog about the reverted changes are also deleted in this file.
+ [Bug #12536] [ruby-dev:49699] [ruby-dev:49702]
+
Sat Jul 2 02:22:22 2016 Naohisa Goto <ngotogenome@gmail.com>
* string.c (str_fill_term): When termlen increases, re-allocation
@@ -10,15 +16,6 @@ Fri Jul 1 20:20:20 2016 Naohisa Goto <ngotogenome@gmail.com>
* string.c: Specify termlen as far as possible.
Additional fix for [Bug #12536] [ruby-dev:49699].
- * string.c (rb_usascii_str_new, rb_utf8_str_new): Specify termlen
- which is apparently 1 for the encodings.
-
- * string.c (str_new0_cstr): New static function to create a String
- object from a C string with specifying termlen.
-
- * string.c (rb_usascii_str_new_cstr, rb_utf8_str_new_cstr): Specify
- termlen by using new str_new0_cstr().
-
* string.c (str_new_static): Specify termlen from the given encoding
when creating a new String object is needed.
@@ -67,13 +64,6 @@ Thu Jun 30 19:15:13 2016 Naohisa Goto <ngotogenome@gmail.com>
* string.c: Fix memory corruptions when using UTF-16/32 strings.
[Bug #12536] [ruby-dev:49699]
- * string.c (TERM_LEN_MAX): Macro for the longest TERM_FILL length,
- the same as largest value of rb_enc_mbminlen(enc) among encodings.
-
- * string.c (str_new, rb_str_buf_new, str_shared_replace): Allocate
- +TERM_LEN_MAX bytes instead of +1. This change may increase memory
- usage.
-
* string.c (rb_str_new_with_class): Use TERM_LEN of the "obj".
* string.c (rb_str_plus, rb_str_justify): Use str_new0 which is aware