diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sprintf.c | 2 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Sun Jun 15 22:20:45 2008 Yukihiro Matsumoto <matz@ruby-lang.org> + + * sprintf.c (rb_f_sprintf): should protect temporary string from + GC. [ruby-dev:34480] + Sun Jun 15 22:18:30 2008 Yukihiro Matsumoto <matz@ruby-lang.org> * regex.c (re_search): string might be NULL. [ruby-core:16478] @@ -471,7 +471,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) { @@ -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 |