diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-27 02:23:52 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-27 02:23:52 +0000 |
commit | 6eda5562f012483853bb409f0a6804be10f4b3b9 (patch) | |
tree | f81988bfba1a5720d1859855e89ccc452087c013 /ext | |
parent | 2a83260a3932f584b5cd3fccd879e562ab4c6737 (diff) |
merge revision(s) 45520: [Backport #9706]
* ext/date/date_core.c (d_lite_cmp): should compare with #<.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/date/date_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/date/date_core.c b/ext/date/date_core.c index e5aa4df171..e3e6c4c2ae 100644 --- a/ext/date/date_core.c +++ b/ext/date/date_core.c @@ -6303,7 +6303,7 @@ d_lite_cmp(VALUE self, VALUE other) return INT2FIX(1); } } - else if (a_nth < b_nth) { + else if (f_lt_p(a_nth, b_nth)) { return INT2FIX(-1); } else { |