ruby-changes:5752
From: shyouhei <ko1@a...>
Date: Sun, 15 Jun 2008 22:23:41 +0900 (JST)
Subject: [ruby-changes:5752] Ruby:r17258 (ruby_1_8_6): merge revision(s) 16144:
shyouhei 2008-06-15 22:20:49 +0900 (Sun, 15 Jun 2008) New Revision: 17258 Modified files: branches/ruby_1_8_6/ChangeLog branches/ruby_1_8_6/sprintf.c branches/ruby_1_8_6/version.h Log: merge revision(s) 16144: * sprintf.c (rb_f_sprintf): should protect temporary string from GC. [ruby-dev:34480] http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/ChangeLog?r1=17258&r2=17257&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/version.h?r1=17258&r2=17257&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/sprintf.c?r1=17258&r2=17257&diff_format=u Index: ruby_1_8_6/ChangeLog =================================================================== --- ruby_1_8_6/ChangeLog (revision 17257) +++ ruby_1_8_6/ChangeLog (revision 17258) @@ -1,3 +1,8 @@ +Sun Jun 15 22:20:45 2008 Yukihiro Matsumoto <matz@r...> + + * sprintf.c (rb_f_sprintf): should protect temporary string from + GC. [ruby-dev:34480] + Sun Jun 15 22:18:30 2008 Yukihiro Matsumoto <matz@r...> * regex.c (re_search): string might be NULL. [ruby-core:16478] Index: ruby_1_8_6/version.h =================================================================== --- ruby_1_8_6/version.h (revision 17257) +++ ruby_1_8_6/version.h (revision 17258) @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2008-06-15" #define RUBY_VERSION_CODE 186 #define RUBY_RELEASE_CODE 20080615 -#define RUBY_PATCHLEVEL 198 +#define RUBY_PATCHLEVEL 199 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 Index: ruby_1_8_6/sprintf.c =================================================================== --- ruby_1_8_6/sprintf.c (revision 17257) +++ ruby_1_8_6/sprintf.c (revision 17258) @@ -471,7 +471,7 @@ long v = 0; int base, bignum = 0; int len, pos; - VALUE tmp; + volatile VALUE tmp; volatile VALUE tmp1; switch (*p) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/