ruby-changes:6350
From: usa <ko1@a...>
Date: Fri, 4 Jul 2008 05:06:08 +0900 (JST)
Subject: [ruby-changes:6350] Ruby:r17866 (ruby_1_8): * numeric.c (rb_fix2uint): typo.
usa 2008-07-04 05:05:54 +0900 (Fri, 04 Jul 2008) New Revision: 17866 Modified files: branches/ruby_1_8/ChangeLog branches/ruby_1_8/numeric.c Log: * numeric.c (rb_fix2uint): typo. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=17866 Index: ruby_1_8/numeric.c =================================================================== --- ruby_1_8/numeric.c (revision 17865) +++ ruby_1_8/numeric.c (revision 17866) @@ -1649,7 +1649,7 @@ return rb_num2uint(val); } num = FIX2ULONG(val); - check_uint(num, RTEST(rb_funcall(val, '<', INT2FIX(0)))); + check_uint(num, RTEST(rb_funcall(val, '<', 1, INT2FIX(0)))); return num; } #else Index: ruby_1_8/ChangeLog =================================================================== --- ruby_1_8/ChangeLog (revision 17865) +++ ruby_1_8/ChangeLog (revision 17866) @@ -1,7 +1,11 @@ +Fri Jul 4 05:05:17 2008 NAKAMURA Usaku <usa@r...> + + * numeric.c (rb_fix2uint): typo. + Fri Jul 4 02:38:24 2008 NAKAMURA Usaku <usa@r...> - * numeric.c (check_uint, rb_num2uint): also needs checking negative - value. see [ruby-dev:33683] + * numeric.c (check_uint, rb_num2uint, rb_fix2uint): also needs checking + negative value. see [ruby-dev:33683] Thu Jul 3 19:35:45 2008 Kazuhiro NISHIYAMA <zn@m...> -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/