diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-09-09 07:02:31 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-09-09 07:02:31 +0000 |
commit | 05c2cc90895750255f64254f2491ff0ad77cc13a (patch) | |
tree | 6a80f1ed5d31d502b0261c4c10882b34bd1cc2e9 | |
parent | 60ce4b55fbfed782e09f0a959c5efff95054593a (diff) |
merge revision(s) r32791:
* insns.def (concatstrings): don't use initial ASCII-8BIT string.
[ruby-core:38635] [Bug #5126]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | insns.def | 4 | ||||
-rw-r--r-- | version.h | 4 |
3 files changed, 9 insertions, 4 deletions
@@ -1,3 +1,8 @@ +Fri Sep 9 16:02:04 2011 NARUSE, Yui <naruse@ruby-lang.org> + + * insns.def (concatstrings): don't use initial ASCII-8BIT string. + [ruby-core:38635] [Bug #5126] + Thu Sep 8 21:17:36 2011 NARUSE, Yui <naruse@ruby-lang.org> * ext/nkf/nkf-utf8/nkf.c: import nkf 2.1.2 (be9c280) @@ -392,9 +392,9 @@ concatstrings (...) (VALUE val) // inc += 1 - num; { - rb_num_t i = num; + rb_num_t i = num - 1; - val = rb_str_new(0, 0); + val = rb_str_resurrect(TOPN(i)); while (i-- > 0) { const VALUE v = TOPN(i); rb_str_append(val, v); @@ -1,10 +1,10 @@ #define RUBY_VERSION "1.9.3" #define RUBY_PATCHLEVEL -1 -#define RUBY_RELEASE_DATE "2011-09-08" +#define RUBY_RELEASE_DATE "2011-09-09" #define RUBY_RELEASE_YEAR 2011 #define RUBY_RELEASE_MONTH 9 -#define RUBY_RELEASE_DAY 8 +#define RUBY_RELEASE_DAY 9 #include "ruby/version.h" |