diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-23 02:58:51 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-23 02:58:51 +0000 |
commit | 596ca948b1d6f2d22b39a4a9c042cc3d164eae13 (patch) | |
tree | c32a17e47f8b2842dd47999c9d761d64e002bc8d /ChangeLog | |
parent | eae1366b3867fe304b54c2adcc87fdd583990077 (diff) | |
download | ruby-596ca948b1d6f2d22b39a4a9c042cc3d164eae13.tar.gz |
string.c: fix for UTF-32
* string.c (rb_str_scrub): fix for UTF-32. strlen() on strings
contain NUL returns wrong result, use sizeof operator instead.
[ruby-dev:45975] [Feature #6752]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Tue Apr 23 11:58:46 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * string.c (rb_str_scrub): fix for UTF-32. strlen() on strings + contain NUL returns wrong result, use sizeof operator instead. + [ruby-dev:45975] [Feature #6752] + Tue Apr 23 10:26:50 2013 Akinori MUSHA <knu@iDaemons.org> * test/ruby/test_module.rb |