[ruby-cvs:70297] nobu:r63207 (trunk): range.c: fix fixnum loop condition

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Apr 20 09:10:46 JST 2018


nobu	2018-04-20 09:10:46 +0900 (Fri, 20 Apr 2018)

  New Revision: 63207

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63207

  Log:
    range.c: fix fixnum loop condition
    
    * range.c (range_step): FIXABLE + FIXABLE never overflow, but may
      not be FIXABLE.  [Feature #12912]

  Modified files:
    trunk/range.c
    trunk/test/ruby/test_range.rb


More information about the ruby-cvs mailing list