Issue #1091 has been updated by Laurent Sansonetti.


Here is a patch that I quickly made for 1.8 (but could also be applied in 1.9). 
----------------------------------------
http://redmine.ruby-lang.org/issues/show/1091

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