From: Curt Hibbs Date: 2006-05-10T04:32:59+09:00 Subject: Re: Possible YAMl bug in 1.8.4 ------=_Part_853_23754136.1147203176029 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 5/9/06, Mauricio Fernandez wrote: > > On Tue, May 09, 2006 at 10:51:54AM +0900, Curt Hibbs wrote: > > Its probably a bug. I'm not familiar with the specifics, but Ruby > > 1.8.4does have known bugs in its YAML support. > > > > I haven't verified this, by ruby-mswin32 (upon which the one-click > installer > > is built) has a new 1.8.4 build released last month. Since there have > not > > been any further releases of Ruby 1.8.4, I'm assuming that this > ruby-mswin32 > > release includes updated YAML fixes from CVS HEAD. > > > > Anyway, I'm going to find out and, if so, update the one-click installe= r > for > > its next release. > > It's not fixed in CVS (ruby_1_8 branch): > > $ ruby -v yaml-bug.rb > ruby 1.8.4 (2006-05-09) [i686-linux] > /home/batsman/usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on lin= e > 5, col 4: `
From: Yukihiro Matsumoto <matz at' (ArgumentError) > from /home/batsman/usr/lib/ruby/1.8/yaml.rb:133:in `load' > from yaml-bug.rb:7 > $ cat yaml-bug.rb > require 'yaml' > > bug=3D[{:content=3D>"\n\n
\n
From: Yukihiro Matsumoto <matz at > ruby-lang.org>
"}] > > dumped=3DYAML.dump(bug) > p YAML::load( dumped ) Too bad... The change log does list a few syck bug fixes, but obviously no= t all of the problems have been fixed. Curt ------=_Part_853_23754136.1147203176029--