Project

General

Profile

« Previous | Next » 

Revision 44855

array.c: comment why rb_ary_modify is needed twice

  • array.c (rb_ary_initialize): NUM2LONG() may call size.to_int, ary can be frozen, modified, etc, so recheck after argument conversion is necessary. [Closes GH-526]