When calling dup on file open in binmode the new object does not respect binmode --------------------------------------------------------------------------------
Key: JRUBY-6198 URL: https://jira.codehaus.org/browse/JRUBY-6198 Project: JRuby Issue Type: Bug Components: Core Classes/Modules, Windows Affects Versions: JRuby 1.6.5, JRuby 1.5.5 Reporter: Brian Olsen On windows if you dup an open file that has either been opened in binmode or later put in binmode the new object is not in binmode and will translate line endings when reading. I have only tested this on 1.6.5 and 1.5.5. I have also made a small test that illustrates the issue: [https://gist.github.com/1348180] -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email