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_emitter_reset): to ensure compatibility

with previous Ruby versions, documents are no longer headless.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
why 2005-12-20 04:25:48 +00:00
parent fb7f646086
commit cda674e39c
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Tue Dec 20 12:53:23 2005 why the lucky stiff <why@ruby-lang.org>
* ext/syck/rubyext.c (syck_emitter_reset): to ensure compatibility
with previous Ruby versions, documents are no longer headless.
Tue Dec 20 12:33:01 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
* ext/syck/rubyext.c (syck_node_transform): ruby object holding

View file

@ -1997,7 +1997,7 @@ syck_emitter_reset( argc, argv, self )
rb_ivar_set(self, s_options, options);
}
emitter->headless = 1;
emitter->headless = 0;
rb_ivar_set(self, s_level, INT2FIX(0));
rb_ivar_set(self, s_resolver, Qnil);
return self;