ruby-changes:7015
From: matz <ko1@a...>
Date: Tue, 12 Aug 2008 18:48:08 +0900 (JST)
Subject: [ruby-changes:7015] Ruby:r18533 (trunk): * ext/bigdecimal/bigdecimal.c (BigDecimalCmp): should not ignore
matz 2008-08-12 18:47:49 +0900 (Tue, 12 Aug 2008) New Revision: 18533 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18533 Log: * ext/bigdecimal/bigdecimal.c (BigDecimalCmp): should not ignore <=> comparison. [ruby-dev:35732] Modified files: trunk/ChangeLog trunk/ext/bigdecimal/bigdecimal.c Index: ChangeLog =================================================================== --- ChangeLog (revision 18532) +++ ChangeLog (revision 18533) @@ -1,3 +1,8 @@ +Tue Aug 12 18:46:36 2008 Yukihiro Matsumoto <matz@r...> + + * ext/bigdecimal/bigdecimal.c (BigDecimalCmp): should not ignore + <=> comparison. [ruby-dev:35732] + Tue Aug 12 18:43:10 2008 Tanaka Akira <akr@f...> * enc/trans/make_transdb.rb: *.erb.c is not used anymore. Index: ext/bigdecimal/bigdecimal.c =================================================================== --- ext/bigdecimal/bigdecimal.c (revision 18532) +++ ext/bigdecimal/bigdecimal.c (revision 18533) @@ -734,7 +734,7 @@ switch(op) { - case '*': return Qnil; /* any op */ + case '*': f = rb_intern("<=>");break; case '=': f = rb_intern("=="); break; case '!': f = rb_intern("!="); break; case 'G': f = rb_intern(">="); break; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/