diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-15 13:20:09 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-15 13:20:09 +0000 |
commit | f8535d1b8a3a3d08ba2f85f272abe6d5eec8f439 (patch) | |
tree | 8c7e742d7bb9c53ef7225682f5b1ff6ce727fba5 /sprintf.c | |
parent | 5150a36a97d192a5a184ec4b2c68b510d6971c59 (diff) |
merge revision(s) 16144:
* sprintf.c (rb_f_sprintf): should protect temporary string from
GC. [ruby-dev:34480]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sprintf.c')
-rw-r--r-- | sprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -485,7 +485,7 @@ rb_f_sprintf(argc, argv) long v = 0; int base, bignum = 0; int len, pos; - VALUE tmp; + volatile VALUE tmp; volatile VALUE tmp1; switch (*p) { |