aboutsummaryrefslogtreecommitdiffstats
path: root/array.c
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2016-11-28 14:22:12 -0800
committerJeremy Evans <code@jeremyevans.net>2019-07-30 12:03:09 -0700
commitd8562ab2a40658db0e6a44ce07cfbe616b9b4078 (patch)
tree30f12370c4908438981f8bab34e0bfb2944baded /array.c
parent369c36ef15c15ddc297e216522cc21599ed6a8e1 (diff)
downloadruby-d8562ab2a40658db0e6a44ce07cfbe616b9b4078.tar.gz
Passing `binmode: true` to `IO.pipe` should behave like `binmode`
When passing `binmode: true` to `IO.pipe`, it should behave the same way as calling `binmode` on each of the file handles. It should set the file to binmode *and* set the encoding to binary on the file. Before this commit, passing `binmode: true` to `IO.pipe` would make `binmode?` return `true`, but the file's encoding would remain the same as the default encoding. Passing `binmode: true` should make `binmode?` return `true` *and* set the encoding to binary.
Diffstat (limited to 'array.c')
0 files changed, 0 insertions, 0 deletions