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

* ext/syck/rubyext.c (syck_mark_emitter): forgot to rb_gc_mark the

outgoing IO object.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
why 2003-07-14 20:35:07 +00:00
parent 40f7baddde
commit bdfce148a7
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Tue Jul 15 03:30:41 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net>
* ext/syck/rubyext.c (syck_mark_emitter): forgot to rb_gc_mark the
outgoing IO object.
Sat Jul 12 17:01:28 2003 NAKAMURA Usaku <usa@ruby-lang.org> Sat Jul 12 17:01:28 2003 NAKAMURA Usaku <usa@ruby-lang.org>
* struct.c (struct_entry): add prototype to avoid VC++ warnings. * struct.c (struct_entry): add prototype to avoid VC++ warnings.

View file

@ -1035,7 +1035,11 @@ static void
syck_mark_emitter(emitter) syck_mark_emitter(emitter)
SyckEmitter *emitter; SyckEmitter *emitter;
{ {
rb_gc_mark(emitter->ignore_id); rb_gc_mark( emitter->ignore_id );
if ( emitter->bonus != NULL )
{
rb_gc_mark( (VALUE)emitter->bonus );
}
} }
/* /*