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 | a351839e8fed92a303f1d5a35c6bfbb62b52ceb4 (patch) | |
tree | 5b2749704e49b60f05b2cda2ad3bb7ff48f680d4 /main.c | |
parent | 604b4986aefb2c59b579cce42f09751898e7bc61 (diff) | |
download | ruby-a351839e8fed92a303f1d5a35c6bfbb62b52ceb4.tar.gz ruby-a351839e8fed92a303f1d5a35c6bfbb62b52ceb4.tar.xz ruby-a351839e8fed92a303f1d5a35c6bfbb62b52ceb4.zip |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@19529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'main.c')
0 files changed, 0 insertions, 0 deletions