ruby-cvs:23322
From: knu ruby-lang.org
Date: Sat, 19 Apr 2008 20:21:24 +0900 (JST)
Subject: [ruby-cvs:23322] Ruby:r16082 (ruby_1_8): * lib/yaml/types.rb: Likewise, pass self to YAML::quick_emit;
knu 2008-04-19 20:21:23 +0900 (Sat, 19 Apr 2008)
New Revision: 16082
Modified files:
branches/ruby_1_8/ChangeLog
branches/ruby_1_8/lib/yaml/rubytypes.rb
branches/ruby_1_8/lib/yaml/types.rb
branches/ruby_1_8/lib/yaml.rb
branches/ruby_1_8/test/yaml/test_yaml.rb
Log:
* lib/yaml/types.rb: Likewise, pass self to YAML::quick_emit;
merged from 1.9.
* lib/yaml.rb (quick_emit): use combination of object_id and hash to
identify repeated object references, since GC will reuse memory of
objects during output of YAML. [ruby-Bugs-8548] [ruby-Bugs-3698];
merged from 1.9.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/test/yaml/test_yaml.rb?r1=16082&r2=16081&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/lib/yaml/rubytypes.rb?r1=16082&r2=16081&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/lib/yaml/types.rb?r1=16082&r2=16081&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ChangeLog?r1=16082&r2=16081&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/lib/yaml.rb?r1=16082&r2=16081&diff_format=u