Issue #1785 has been updated by Shyouhei Urabe.

Assigned to set to Kirk Haines

Applied in changeset r24178.  Should be backported to 1.8.6.
----------------------------------------
http://redmine.ruby-lang.org/issues/show/1785

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