Project

General

Profile

« Previous | Next » 

Revision 39466

random.c: increase limit for generic rand

  • random.c (rb_random_ulong_limited): limit is inclusive, but generic rand method should return a number less than it, so increase for the difference. [ruby-core:52779] [Bug #7935]