ruby-changes:8998
From: nobu <ko1@a...>
Date: Fri, 5 Dec 2008 10:03:30 +0900 (JST)
Subject: [ruby-changes:8998] Ruby:r20534 (trunk, ruby_1_8): * string.c (rb_str_cmp_m): fixed rdoc. pointed out by <Thomas
nobu 2008-12-05 10:01:53 +0900 (Fri, 05 Dec 2008) New Revision: 20534 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=20534 Log: * string.c (rb_str_cmp_m): fixed rdoc. pointed out by <Thomas C. Mitchell AT gmail.com> at [ruby-talk:321967] Modified files: branches/ruby_1_8/ChangeLog branches/ruby_1_8/string.c trunk/ChangeLog trunk/string.c Index: ChangeLog =================================================================== --- ChangeLog (revision 20533) +++ ChangeLog (revision 20534) @@ -1,3 +1,8 @@ +Fri Dec 5 10:01:43 2008 Nobuyoshi Nakada <nobu@r...> + + * string.c (rb_str_cmp_m): fixed rdoc. pointed out by <Thomas + C. Mitchell AT gmail.com> at [ruby-talk:321967] + Fri Dec 5 07:58:30 2008 Tanaka Akira <akr@f...> * io.c (io_binwrite): arg.offset should be updated after retry. Index: string.c =================================================================== --- string.c (revision 20533) +++ string.c (revision 20534) @@ -2149,8 +2149,8 @@ * 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. In older versions of Ruby, setting Index: ruby_1_8/ChangeLog =================================================================== --- ruby_1_8/ChangeLog (revision 20533) +++ ruby_1_8/ChangeLog (revision 20534) @@ -1,3 +1,8 @@ +Fri Dec 5 10:01:43 2008 Nobuyoshi Nakada <nobu@r...> + + * 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@r...> * pack.c (pack_pack): propagate taint status from format string to Index: ruby_1_8/string.c =================================================================== --- ruby_1_8/string.c (revision 20533) +++ ruby_1_8/string.c (revision 20534) @@ -1001,8 +1001,8 @@ * 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/