diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-12 09:47:49 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-12 09:47:49 +0000 |
| commit | d63c149b8abb063867994b7c7a158de16b2263e5 (patch) | |
| tree | 848176decb97e568e7eaa29377193f5de5144bb6 /ext | |
| parent | 77514199a395f22473aa20efb92ceea8ae8e1071 (diff) | |
| download | ruby-d63c149b8abb063867994b7c7a158de16b2263e5.tar.gz ruby-d63c149b8abb063867994b7c7a158de16b2263e5.tar.xz ruby-d63c149b8abb063867994b7c7a158de16b2263e5.zip | |
* ext/bigdecimal/bigdecimal.c (BigDecimalCmp): should not ignore
<=> comparison. [ruby-dev:35732]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/bigdecimal/bigdecimal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c index 2498ea445..213d9ea14 100644 --- a/ext/bigdecimal/bigdecimal.c +++ b/ext/bigdecimal/bigdecimal.c @@ -734,7 +734,7 @@ BigDecimalCmp(VALUE self, VALUE r,char op) 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; |
