diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-11 11:18:05 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-11 11:18:05 +0000 |
commit | 1549894a0699abdfab1fbba0e468afd3f2f990b3 (patch) | |
tree | b185df290fe5bec98808c0e26171f721f8cb2db2 /transcode.c | |
parent | b271a8c98d7301482d5b4eb2c7d79b7e1a1fc368 (diff) | |
download | ruby-1549894a0699abdfab1fbba0e468afd3f2f990b3.tar.gz |
string.c: multi-byte terminator
* string.c (rb_enc_str_new, rb_str_set_len, rb_str_resize): fill
minimum length of the encoding as the terminator.
* string.c (str_buf_cat, rb_str_buf_append, rb_str_splice_0): ditto.
* string.c (str_make_independent_expand, rb_str_modify_expand): make
the capacity enough for multi-byte terminator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'transcode.c')
0 files changed, 0 insertions, 0 deletions