From 293aedbfc918ffabb75f23616d63a06955f44e56 Mon Sep 17 00:00:00 2001 From: yugui Date: Fri, 5 Dec 2008 13:34:25 +0000 Subject: merges r20534 from trunk into ruby_1_9_1. * string.c (rb_str_cmp_m): fixed rdoc. pointed out by at [ruby-talk:321967] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ string.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index daabcadbe..d305dd419 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Dec 5 10:01:43 2008 Nobuyoshi Nakada + + * string.c (rb_str_cmp_m): fixed rdoc. pointed out by at [ruby-talk:321967] + Fri Dec 5 07:58:30 2008 Tanaka Akira * io.c (io_binwrite): arg.offset should be updated after retry. diff --git a/string.c b/string.c index d931cd9ca..a8b3f29cd 100644 --- a/string.c +++ b/string.c @@ -2149,8 +2149,8 @@ rb_str_eql(VALUE str1, VALUE str2) * call-seq: * str <=> other_str => -1, 0, +1 * - * Comparison---Returns -1 if other_str is less than, 0 if - * other_str is equal to, and +1 if other_str is greater than + * Comparison---Returns -1 if other_str is greater than, 0 if + * other_str is equal to, and +1 if other_str is less 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. In older versions of Ruby, setting -- cgit