jruby/jruby — pull request #88 by larvacea (2011-10-09 19:04:17+00:00)
Title: JRUBY-3944: process :binmode option

The :binmode option, when set to TRUE, is ORed in with flags from the mode string or
:mode option, as it is in MRI 1.9.2. Tested in rubyspec; both MRI and this code pass
new tests for :binmode, and the existing jruby 1.6.5 code fails as expected.