mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 20:44:20 +00:00
(https://github.com/ruby/stringio/pull/69)
The conversion logic is borrowed from ruby/ruby's io.c:
40391faeab/io.c (L4059-L4079)
Fix ruby/stringio#68
Reported by IWAMOTO Kouichi. Thanks!!!
https://github.com/ruby/stringio/commit/4b170c1a68