Skip to content

Commit b3f0632

Browse files
committed
merge revision(s) 17719:
* string.c (rb_str_format_m): make tmp volatile to avoid possible GC problem. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@18114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 3ac9914 commit b3f0632

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+
Thu Jul 17 21:32:49 2008 Tanaka Akira <akr@fsij.org>
2+
3+
* string.c (rb_str_format_m): make tmp volatile to avoid possible GC
4+
problem.
5+
16
Thu Jul 17 21:30:55 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
27

38
* lib/optparse.rb (OptionParser#environment): requires shellwords.

string.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ static VALUE
462462
rb_str_format_m(str, arg)
463463
VALUE str, arg;
464464
{
465-
VALUE tmp = rb_check_array_type(arg);
465+
volatile VALUE tmp = rb_check_array_type(arg);
466466

467467
if (!NIL_P(tmp)) {
468468
return rb_str_format(RARRAY_LEN(tmp), RARRAY_PTR(tmp), str);

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-07-17"
33
#define RUBY_VERSION_CODE 187
44
#define RUBY_RELEASE_CODE 20080717
5-
#define RUBY_PATCHLEVEL 61
5+
#define RUBY_PATCHLEVEL 62
66

77
#define RUBY_VERSION_MAJOR 1
88
#define RUBY_VERSION_MINOR 8

0 commit comments

Comments
 (0)