[前][次][番号順一覧][スレッド一覧]

ruby-changes:5979

From: shyouhei <ko1@a...>
Date: Fri, 20 Jun 2008 18:25:09 +0900 (JST)
Subject: [ruby-changes:5979] Ruby:r17486 (ruby_1_8_6): merge revision(s) 17483:

shyouhei	2008-06-20 18:24:53 +0900 (Fri, 20 Jun 2008)

  New Revision: 17486

  Modified files:
    branches/ruby_1_8_6/ChangeLog
    branches/ruby_1_8_6/string.c
    branches/ruby_1_8_6/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_6/ChangeLog?r1=17486&r2=17485&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/version.h?r1=17486&r2=17485&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/string.c?r1=17486&r2=17485&diff_format=u

Index: ruby_1_8_6/ChangeLog
===================================================================
--- ruby_1_8_6/ChangeLog	(revision 17485)
+++ ruby_1_8_6/ChangeLog	(revision 17486)
@@ -1,3 +1,7 @@
+Fri Jun 20 18:24:18 2008  Nobuyoshi Nakada  <nobu@r...>
+
+	* string.c (rb_str_buf_append): should infect.
+
 Fri Jun 20 15:52:30 2008  Nobuyoshi Nakada  <nobu@r...>
 
 	* array.c (rb_ary_store, rb_ary_splice): not depend on unspecified
Index: ruby_1_8_6/version.h
===================================================================
--- ruby_1_8_6/version.h	(revision 17485)
+++ ruby_1_8_6/version.h	(revision 17486)
@@ -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
Index: ruby_1_8_6/string.c
===================================================================
--- ruby_1_8_6/string.c	(revision 17485)
+++ ruby_1_8_6/string.c	(revision 17486)
@@ -778,7 +778,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/

[前][次][番号順一覧][スレッド一覧]