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 | 4013c49a479e59689b6a585b8a9c2cb4c861b0db (patch) | |
| tree | 3dadcfefbd2aa5ba12cb993a0e49f85b69654fdd /ChangeLog | |
| parent | 9567ecd8404fae7b11f372e07b6ab07dd468aa59 (diff) | |
| download | ruby-4013c49a479e59689b6a585b8a9c2cb4c861b0db.tar.gz ruby-4013c49a479e59689b6a585b8a9c2cb4c861b0db.tar.xz ruby-4013c49a479e59689b6a585b8a9c2cb4c861b0db.zip | |
* 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: http://svn.ruby-lang.org/repos/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 |
