From: why the lucky stiff Date: 2005-10-16T00:05:51+09:00 Subject: Re: Ruby 1.8.3, Gems, Rake and Syck --------------040803030502030404020404 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit TRANS wrote: >Granted it's effect was on Gems. But just the same, I had no idea the >source of the bug (in fact I still think it might by Syck itself.) So >with Ruby, Rake and Syck in play this seems like a very logical place. > > The problem is my fault, I should have a method call for specifying if a doc is headless or no. A patch is attached for reverting the headless flag. >Relax dude. > > T., I've never actually seen this sentence work in the way it is always intended. _why --------------040803030502030404020404 Content-Type: text/x-patch; name="ruby-1.8.3-headless-syck.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ruby-1.8.3-headless-syck.patch" diff -wur ruby-1.8.3/ext/syck/rubyext.c ruby-1.8.3-patched/ext/syck/rubyext.c --- ruby-1.8.3/ext/syck/rubyext.c 2005-09-17 11:17:06.000000000 -0600 +++ ruby-1.8.3-patched/ext/syck/rubyext.c 2005-10-15 09:01:43.000000000 -0600 @@ -2019,7 +2019,7 @@ rb_ivar_set(self, s_options, options); } - emitter->headless = 1; + emitter->headless = 0; emitter->bonus = (void *)bonus; rb_ivar_set(self, s_level, INT2FIX(0)); rb_ivar_set(self, s_resolver, Qnil); --------------040803030502030404020404--