diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-20 07:59:33 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-20 07:59:33 +0000 |
commit | 8405033139bc3ee4cbdf1b1c415910f7df38ebfd (patch) | |
tree | 6cbb7e8e46c9acf8f7eeed8aaf5f6c342b969a91 /id.h | |
parent | 7992fabaf40f8635653d267592f591d9cc4c511e (diff) | |
download | ruby-8405033139bc3ee4cbdf1b1c415910f7df38ebfd.tar.gz |
* string.c (rb_enc_strlen_cr): need to set ENC_CODERANGE_7BIT if
search_nonascii() fails. [ruby-dev:34751]
* string.c (rb_str_reverse): preserve coderange info if the
receiver is 7bit string.
* string.c (rb_str_reverse_bang): ditto.
* string.c (rb_str_reverse_bang): should have called
single_byte_optimizable before rb_str_modify() that clears
coderange info.
* string.c (tr_trans): handle single bytes more eagerly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'id.h')
0 files changed, 0 insertions, 0 deletions