ruby-changes:5976
From: shyouhei <ko1@a...>
Date: Fri, 20 Jun 2008 18:24:12 +0900 (JST)
Subject: [ruby-changes:5976] Ruby:r17484 (ruby_1_8_5): merge revision(s) 17483:
shyouhei 2008-06-20 18:23:53 +0900 (Fri, 20 Jun 2008) New Revision: 17484 Modified files: branches/ruby_1_8_5/ChangeLog branches/ruby_1_8_5/string.c branches/ruby_1_8_5/version.h Log: merge revision(s) 17483: * string.c (rb_str_buf_append): should infect. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_5/string.c?r1=17484&r2=17483&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_5/version.h?r1=17484&r2=17483&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_5/ChangeLog?r1=17484&r2=17483&diff_format=u Index: ruby_1_8_5/ChangeLog =================================================================== --- ruby_1_8_5/ChangeLog (revision 17483) +++ ruby_1_8_5/ChangeLog (revision 17484) @@ -1,3 +1,7 @@ +Fri Jun 20 18:23:09 2008 Nobuyoshi Nakada <nobu@r...> + + * string.c (rb_str_buf_append): should infect. + Fri Jun 20 15:51:18 2008 Nobuyoshi Nakada <nobu@r...> * array.c (rb_ary_store, rb_ary_splice): not depend on unspecified Index: ruby_1_8_5/version.h =================================================================== --- ruby_1_8_5/version.h (revision 17483) +++ ruby_1_8_5/version.h (revision 17484) @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2008-06-20" #define RUBY_VERSION_CODE 185 #define RUBY_RELEASE_CODE 20080620 -#define RUBY_PATCHLEVEL 230 +#define RUBY_PATCHLEVEL 231 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 Index: ruby_1_8_5/string.c =================================================================== --- ruby_1_8_5/string.c (revision 17483) +++ ruby_1_8_5/string.c (revision 17484) @@ -775,7 +775,9 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/