[ruby-cvs:69748] nobu:r62572 (trunk): date_core.c: defensive code
nobu at ruby-lang.org
nobu at ruby-lang.org
Sun Feb 25 13:28:11 JST 2018
nobu 2018-02-25 13:28:11 +0900 (Sun, 25 Feb 2018)
New Revision: 62572
https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62572
Log:
date_core.c: defensive code
* ext/date/date_core.c (f_cmp): check comparison failure.
* ext/date/date_core.c (d_lite_step): deal with the comparison
result more defensively. [ruby-core:85796] [Bug #14549]
Modified files:
trunk/ext/date/date_core.c
trunk/test/date/test_date_arith.rb
More information about the ruby-cvs
mailing list