diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-24 14:01:41 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-24 14:01:41 +0000 |
commit | 00e9e27b69c7af6fab649c789c6698d256982046 (patch) | |
tree | 5b2749704e49b60f05b2cda2ad3bb7ff48f680d4 /test | |
parent | ad50e0edb93af94463219b998bfacf7ecdb5c213 (diff) | |
download | ruby-00e9e27b69c7af6fab649c789c6698d256982046.tar.gz |
* string.c (rb_str_rstrip_bang): raise exception when the encoding of
the string is dummy.
* string.c (rb_str_rstrip_bang): remove nul characters even if the
encoding of the string is not single byte optimizable.
fixed [ruby-core:18844], reported by Michael Selig.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions