Skip to content

Commit

Permalink
merge revision(s) 15965:
Browse files Browse the repository at this point in the history
	* marshal.c (w_object): add volatile to avoid potential GC bug.  a
	  patch from Tomoyuki Chikanaga <chikanag at nippon-control-system.co.jp>
	  in [ruby-dev:34311].


git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@17236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
shyouhei committed Jun 15, 2008
1 parent 6fddb50 commit e11693a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
@@ -1,3 +1,9 @@
Sun Jun 15 22:03:36 2008 Yukihiro Matsumoto <matz@ruby-lang.org>

* marshal.c (w_object): add volatile to avoid potential GC bug. a
patch from Tomoyuki Chikanaga <chikanag at nippon-control-system.co.jp>
in [ruby-dev:34311].

Sun Jun 15 21:57:19 2008 Yukihiro Matsumoto <matz@ruby-lang.org>

* re.c (rb_reg_quote): should always copy the quoting string.
Expand Down
2 changes: 1 addition & 1 deletion marshal.c
Expand Up @@ -502,7 +502,7 @@ w_object(obj, arg, limit)

st_add_direct(arg->data, obj, arg->data->num_entries);
if (rb_respond_to(obj, s_mdump)) {
VALUE v;
volatile VALUE v;

v = rb_funcall(obj, s_mdump, 0, 0);
w_class(TYPE_USRMARSHAL, obj, arg, Qfalse);
Expand Down
2 changes: 1 addition & 1 deletion version.h
Expand Up @@ -2,7 +2,7 @@
#define RUBY_RELEASE_DATE "2008-06-15"
#define RUBY_VERSION_CODE 185
#define RUBY_RELEASE_CODE 20080615
#define RUBY_PATCHLEVEL 192
#define RUBY_PATCHLEVEL 193

#define RUBY_VERSION_MAJOR 1
#define RUBY_VERSION_MINOR 8
Expand Down

0 comments on commit e11693a

Please sign in to comment.