1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext
normal dc59c76898 stringio: binmode sets encoding to ASCII-8BIT
This should match the behavior of IO#binmode as far
as treating content as ASCII-8BIT (binary).

* ext/stringio/stringio.c (strio_binmode): implement to set encoding
* test/stringio/test_stringio.rb (test_binmode): new test
  [ruby-core:72699] [Bug #11945]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-04 20:45:14 +00:00
..
-test- handle ext/ as r53141 2015-12-16 05:31:54 +00:00
bigdecimal * ext/bigdecimal/bigdecimal.gemspec: bump version to 1.2.8. 2015-12-22 12:20:28 +00:00
cgi/escape escape.c: should not freeze 2015-12-22 05:31:31 +00:00
continuation handle ext/ as r53141 2015-12-16 05:31:54 +00:00
coverage handle ext/ as r53141 2015-12-16 05:31:54 +00:00
date handle ext/ as r53141 2015-12-16 05:31:54 +00:00
dbm handle ext/ as r53141 2015-12-16 05:31:54 +00:00
digest handle ext/ as r53141 2015-12-16 05:31:54 +00:00
etc handle ext/ as r53141 2015-12-16 05:31:54 +00:00
fcntl handle ext/ as r53141 2015-12-16 05:31:54 +00:00
fiber handle ext/ as r53141 2015-12-16 05:31:54 +00:00
fiddle * ext/fiddle/handle.c: check tainted string arguments. 2015-12-16 12:08:49 +00:00
gdbm handle ext/ as r53141 2015-12-16 05:31:54 +00:00
io io/console: fix gem build failure on Windows 2015-12-23 15:26:08 +00:00
json handle ext/ as r53141 2015-12-16 05:31:54 +00:00
mathn handle ext/ as r53141 2015-12-16 05:31:54 +00:00
nkf * ext/nkf/nkf-utf8/utf8tbl.c: fix a typo. 2015-12-18 00:42:49 +00:00
objspace handle ext/ as r53141 2015-12-16 05:31:54 +00:00
openssl prefer rb_syserr_fail 2015-12-23 08:57:48 +00:00
pathname handle ext/ as r53141 2015-12-16 05:31:54 +00:00
psych * ext/psych/lib/psych.rb: bump version to 2.0.17 2015-12-22 11:25:39 +00:00
pty * ext/pty/pty.c: fix double words typo. 2015-12-18 00:44:52 +00:00
racc/cparse handle ext/ as r53141 2015-12-16 05:31:54 +00:00
rbconfig/sizeof handle ext/ as r53141 2015-12-16 05:31:54 +00:00
readline handle ext/ as r53141 2015-12-16 05:31:54 +00:00
ripper handle ext/ as r53141 2015-12-16 05:31:54 +00:00
sdbm handle ext/ as r53141 2015-12-16 05:31:54 +00:00
socket rb_readwrite_syserr_fail 2015-12-23 14:58:47 +00:00
stringio stringio: binmode sets encoding to ASCII-8BIT 2016-01-04 20:45:14 +00:00
strscan handle ext/ as r53141 2015-12-16 05:31:54 +00:00
syslog handle ext/ as r53141 2015-12-16 05:31:54 +00:00
thread handle ext/ as r53141 2015-12-16 05:31:54 +00:00
tk ⚠️ key "accelerator" is duplicated and overwritten in Tk samples 2015-12-28 15:10:25 +00:00
win32 handle ext/ as r53141 2015-12-16 05:31:54 +00:00
win32ole * remove trailing spaces. 2015-12-27 14:34:16 +00:00
zlib zlib.c: Fix typo [ci skip] 2015-12-19 05:27:52 +00:00
.document * ext/win32ole/win32ole.c: separate WIN32OLE::VARIANT src file 2014-08-02 14:55:36 +00:00
extmk.rb handle ext/ as r53141 2015-12-16 05:31:54 +00:00
Setup cgi/escape: Optimize CGI.escapeHTML 2015-12-20 11:54:54 +00:00
Setup.atheos cgi/escape: Optimize CGI.escapeHTML 2015-12-20 11:54:54 +00:00
Setup.nacl cgi/escape: Optimize CGI.escapeHTML 2015-12-20 11:54:54 +00:00
Setup.nt cgi/escape: Optimize CGI.escapeHTML 2015-12-20 11:54:54 +00:00