diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-14 17:21:41 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-14 17:21:41 +0000 |
| commit | a7481aae3fc2d9e83dcf548e614209025c09fc83 (patch) | |
| tree | 3f8963be47d6d45e6a97c78d0e08b4e112881906 /ChangeLog | |
| parent | 6a7fd8cbe7144ab8152017439486d7c5256a594d (diff) | |
string.c: consider old terminator
* string.c (str_fill_term): consider old terminator length, and should
not use rb_enc_ascget since it depends on the current encoding which
may not be compatible with the new terminator. [Bug #8634]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,8 @@ -Mon Jul 15 02:21:33 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> +Mon Jul 15 02:21:39 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * string.c (str_fill_term): consider old terminator length, and should + not use rb_enc_ascget since it depends on the current encoding which + may not be compatible with the new terminator. [Bug #8634] * encoding.c (enc_inspect): use PRIsVALUE to preserve the result encoding. |
