summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-05 01:01:53 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-05 01:01:53 +0000
commit8c0efdc182eb66a72eb04132060fa15df2ab6360 (patch)
treee34e72b33fa6b3f8d3b66c7a50525de790628ab0
parent020bbc997ed0de7d5d91c1cd8710c21fd83c07ef (diff)
* string.c (rb_str_cmp_m): fixed rdoc. pointed out by <Thomas
C. Mitchell AT gmail.com> at [ruby-talk:321967] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--string.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 527d4b53f0..db2e16b428 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Dec 5 10:01:43 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * string.c (rb_str_cmp_m): fixed rdoc. pointed out by <Thomas
+ C. Mitchell AT gmail.com> at [ruby-talk:321967]
+
Fri Dec 5 01:19:21 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* pack.c (pack_pack): propagate taint status from format string to
diff --git a/string.c b/string.c
index dfaf8c0228..9c55ce618c 100644
--- a/string.c
+++ b/string.c
@@ -1001,8 +1001,8 @@ rb_str_eql(str1, str2)
* call-seq:
* str <=> other_str => -1, 0, +1
*
- * Comparison---Returns -1 if <i>other_str</i> is less than, 0 if
- * <i>other_str</i> is equal to, and +1 if <i>other_str</i> is greater than
+ * Comparison---Returns -1 if <i>other_str</i> is greater than, 0 if
+ * <i>other_str</i> is equal to, and +1 if <i>other_str</i> is less than
* <i>str</i>. 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 <code>$=</code> is