diff options
author | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-18 14:34:04 +0000 |
---|---|---|
committer | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-18 14:34:04 +0000 |
commit | 81629f05312cc4df2193a17f13c581eda174d9af (patch) | |
tree | 13e310812d2b590a8ff3299caf3bf0f4105998dd /lib/rubygems/commands/update_command.rb | |
parent | 47beb63fe283426d6e4e03130a5eb06d770d772b (diff) | |
download | ruby-81629f05312cc4df2193a17f13c581eda174d9af.tar.gz |
* string.c (rb_str_enumerate_lines): make String#each_line and
#lines not raise invalid byte sequence error when it is called
with an argument. The patch also causes performance improvement.
[ruby-dev:47549] [Bug #8698]
* test/ruby/test_m17n_comb.rb (test_str_each_line): remove
assertions which check that String#each_line and #lines will
raise an error if the receiver includes invalid byte sequence.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems/commands/update_command.rb')
0 files changed, 0 insertions, 0 deletions