diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-20 09:24:53 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-20 09:24:53 +0000 |
commit | f61afaad7277b3463fbdd5f6017527fe255abfaf (patch) | |
tree | 030c16096d0523cc2293396bb7682c89c1b67d9e | |
parent | d84dde37a1c13be3360e0ec0f7dfc9c701f4ae5d (diff) |
merge revision(s) 17483:
* string.c (rb_str_buf_append): should infect.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@17486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | string.c | 4 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,7 @@ +Fri Jun 20 18:24:18 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * string.c (rb_str_buf_append): should infect. + Fri Jun 20 15:52:30 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> * array.c (rb_ary_store, rb_ary_splice): not depend on unspecified @@ -778,7 +778,9 @@ VALUE rb_str_buf_append(str, str2) VALUE str, str2; { - return str_buf_cat(str, RSTRING(str2)->ptr, RSTRING(str2)->len); + str_buf_cat(str, RSTRING(str2)->ptr, RSTRING(str2)->len); + OBJ_INFECT(str, str2); + return str; } VALUE @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2008-06-20" #define RUBY_VERSION_CODE 186 #define RUBY_RELEASE_CODE 20080620 -#define RUBY_PATCHLEVEL 229 +#define RUBY_PATCHLEVEL 230 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 |