mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* marshal.c (r_object0): should return real object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cb46d98caa
commit
f03642038e
2 changed files with 13 additions and 9 deletions
|
@ -1,3 +1,7 @@
|
|||
Tue Jul 14 01:24:56 2009 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* marshal.c (r_object0): should return real object.
|
||||
|
||||
Tue Jul 14 01:06:31 2009 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* enumerator.c (yielder_yield_i): use rb_proc_new instead of
|
||||
|
|
|
@ -1406,7 +1406,7 @@ r_object0(struct load_arg *arg, int *ivp, VALUE extmod)
|
|||
}
|
||||
str = r_entry(rb_reg_new_str(str, options), arg);
|
||||
rb_copy_generic_ivar(str, v);
|
||||
v = r_leave(v, arg);
|
||||
v = r_leave(str, arg);
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue