Skip to content

Commit f8535d1

Browse files
committed
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
1 parent 5150a36 commit f8535d1

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Sun Jun 15 22:19:33 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
2+
3+
* sprintf.c (rb_f_sprintf): should protect temporary string from
4+
GC. [ruby-dev:34480]
5+
16
Sun Jun 15 22:17:35 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
27

38
* regex.c (re_search): string might be NULL. [ruby-core:16478]

sprintf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ rb_f_sprintf(argc, argv)
485485
long v = 0;
486486
int base, bignum = 0;
487487
int len, pos;
488-
VALUE tmp;
488+
volatile VALUE tmp;
489489
volatile VALUE tmp1;
490490

491491
switch (*p) {

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define RUBY_RELEASE_DATE "2008-06-15"
33
#define RUBY_VERSION_CODE 185
44
#define RUBY_RELEASE_CODE 20080615
5-
#define RUBY_PATCHLEVEL 197
5+
#define RUBY_PATCHLEVEL 198
66

77
#define RUBY_VERSION_MAJOR 1
88
#define RUBY_VERSION_MINOR 8

0 commit comments

Comments
 (0)