diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-17 12:32:16 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-17 12:32:16 +0000 |
commit | cb901902d4e5939c809521cdee8f2b83f9e31a17 (patch) | |
tree | 8f3e54bd980f3d285480aab1af2645de014e8470 | |
parent | 90b9bc789c0576f93987726af6908c109e5fa688 (diff) | |
download | ruby-cb901902d4e5939c809521cdee8f2b83f9e31a17.tar.gz ruby-cb901902d4e5939c809521cdee8f2b83f9e31a17.tar.xz ruby-cb901902d4e5939c809521cdee8f2b83f9e31a17.zip |
merge revision(s) 17719:
* string.c (rb_str_format_m): make tmp volatile to avoid possible GC
problem.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@18112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | string.c | 2 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Thu Jul 17 21:31:46 2008 Tanaka Akira <akr@fsij.org> + + * string.c (rb_str_format_m): make tmp volatile to avoid possible GC + problem. + Thu Jul 17 21:29:34 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> * lib/optparse.rb (OptionParser#environment): requires shellwords. @@ -455,7 +455,7 @@ static VALUE rb_str_format_m(str, arg) VALUE str, arg; { - VALUE tmp = rb_check_array_type(arg); + volatile VALUE tmp = rb_check_array_type(arg); if (!NIL_P(tmp)) { return rb_str_format(RARRAY_LEN(tmp), RARRAY_PTR(tmp), str); @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2008-07-17" #define RUBY_VERSION_CODE 186 #define RUBY_RELEASE_CODE 20080717 -#define RUBY_PATCHLEVEL 277 +#define RUBY_PATCHLEVEL 278 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 |