1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* marshal.c (mark_dump_arg): it may be called after dump_ensure.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2007-11-18 11:50:25 +00:00
parent 3184ac2dfe
commit 30e97cbb8b
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Sun Nov 18 20:47:41 2007 Tanaka Akira <akr@fsij.org>
* marshal.c (mark_dump_arg): it may be called after dump_ensure.
Sun Nov 18 18:27:47 2007 Tanaka Akira <akr@fsij.org>
* time.c (time_minus): fix Time.at(2**60+1) - Time.at(2**60).

View file

@ -153,6 +153,8 @@ static void
mark_dump_arg(void *ptr)
{
struct dump_arg *p = ptr;
if (!ptr)
return;
rb_mark_set(p->data);
rb_mark_hash(p->compat_tbl);
}