diff options
author | why <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-12-20 04:25:48 +0000 |
---|---|---|
committer | why <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-12-20 04:25:48 +0000 |
commit | cda674e39cec9ea7a9ba2274ffbe656bc6a3fd43 (patch) | |
tree | b7fac8f950b8c8d479d17ccd228c2c17fbd2f2fb /ext | |
parent | fb7f646086311493502a172b09fcfd17f51f6d0f (diff) | |
download | ruby-cda674e39cec9ea7a9ba2274ffbe656bc6a3fd43.tar.gz |
* 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
Diffstat (limited to 'ext')
-rw-r--r-- | ext/syck/rubyext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/syck/rubyext.c b/ext/syck/rubyext.c index 52cda8fffd..272cfd2571 100644 --- a/ext/syck/rubyext.c +++ b/ext/syck/rubyext.c @@ -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; |