Issue #11955 has been reported by Josh Cooper. ---------------------------------------- Refactor #11955: Refactor uses of Puppet::Util.binread https://projects.puppetlabs.com/issues/11955
Author: Josh Cooper Status: Accepted Priority: Normal Assignee: Josh Cooper Category: windows Target version: 2.7.x Affected Puppet version: 2.7.6 Keywords: Branch: This method is available in IO.binread in ruby 1.9 and above. We should monkey patch when running on earlier versions, and also add IO.binwrite while we're at it. Also, places that call File.read/File.write should be changed to use binread/binwrite, unless we know we're dealing with a text file that may require '\r\n' line endings on Windows -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
