Project

General

Profile

Backport #2120 » local_variables_in_for_binding_segv.patch

ujihisa (Tatsuhiro Ujihisa), 09/19/2009 08:07 AM

View differences:

vm.c (working copy)
int i;
for (i = 0; i < env->block.iseq->local_table_size; i++) {
ID lid = env->block.iseq->local_table[i];
if (lid) {
if (rb_is_local_id(lid)) {
rb_ary_push(ary, ID2SYM(lid));
}
}
(1-1/2)