Issue #1525 has been updated by Hongli Lai.


The patch is to be applied on top of Ruby's SVN sources.
----------------------------------------
http://redmine.ruby-lang.org/issues/show/1525

----------------------------------------
http://redmine.ruby-lang.org