diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-20 10:20:43 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-20 10:20:43 +0000 |
commit | 492f431a46b5742e0c741fb0345e3279661a5762 (patch) | |
tree | 3dadcfefbd2aa5ba12cb993a0e49f85b69654fdd /ChangeLog | |
parent | 96ada56fb9caf72b3ef451f251cf876c6bec3d7e (diff) | |
download | ruby-492f431a46b5742e0c741fb0345e3279661a5762.tar.gz |
* string.c (rb_enc_str_copy): added for wrapper for rb_enc_copy.
this also copy coderange when ptr and len is equal.
* string.c (rb_enc_cr_str_copy): added for wrapper for rb_enc_copy.
this always copy coderange.
* string.c (str_replace_shared): use rb_enc_str_copy.
* string.c (str_new3): don't rb_enc_copy because encoding is copied
at str_replace_shared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,16 @@ +Wed Feb 20 19:15:38 2008 NARUSE, Yui <naruse@ruby-lang.org> + + * string.c (rb_enc_str_copy): added for wrapper for rb_enc_copy. + this also copy coderange when ptr and len is equal. + + * string.c (rb_enc_cr_str_copy): added for wrapper for rb_enc_copy. + this always copy coderange. + + * string.c (str_replace_shared): use rb_enc_str_copy. + + * string.c (str_new3): don't rb_enc_copy because encoding is copied + at str_replace_shared. + Wed Feb 20 13:08:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> * instruby.rb (parse_args): added --dir-mode, --script-mode and |