From 17d56079b065a14bd9ad7b0d5c7cf34e9f38ee2b Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 4 Oct 2007 08:09:06 +0000 Subject: * re.c (ignorecase_setter): change warning message. * re.c (ignorecase_getter): now gives warning. * string.c (rb_str_cmp_m): update RDoc document. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- string.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'string.c') diff --git a/string.c b/string.c index 67495e511..67ea57401 100644 --- a/string.c +++ b/string.c @@ -1293,9 +1293,7 @@ rb_str_eql(VALUE str1, VALUE str2) * other_str is equal to, and +1 if other_str is greater than * str. If the strings are of different lengths, and the strings are * equal when compared up to the shortest length, then the longer string is - * considered greater than the shorter one. If the variable $= is - * false, the comparison is based on comparing the binary values - * of each character in the string. In older versions of Ruby, setting + * considered greater than the shorter one. In older versions of Ruby, setting * $= allowed case-insensitive comparisons; this is now deprecated * in favor of using String#casecmp. * -- cgit