diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-18 13:17:41 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-18 13:17:41 +0000 |
commit | 25206d3cc3a1838cc5ffe4299d73c2e2d4eff922 (patch) | |
tree | 423d782590bb97c6cc739a8d277acdc26a31e464 /sample | |
parent | fbc8be67b7b318598068c0a94a1b8398ab6035c1 (diff) | |
download | ruby-25206d3cc3a1838cc5ffe4299d73c2e2d4eff922.tar.gz ruby-25206d3cc3a1838cc5ffe4299d73c2e2d4eff922.tar.xz ruby-25206d3cc3a1838cc5ffe4299d73c2e2d4eff922.zip |
* string.c (rb_str_comparable): make ascii8bit string to be
compatible with any other encoding.
* string.c (rb_str_cmp): use rb_str_comparable() instead of
rb_enc_compatible() since <=> is a comparison anyway.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample')
0 files changed, 0 insertions, 0 deletions