diff --git a/ChangeLog b/ChangeLog index 58da152942..99c056c731 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Feb 17 23:54:29 2011 CHIKANAGA Tomoyuki + + * iseq.c (prepare_iseq_build): initialize iseq_compile_data::err_info + with nil. this fix exception in rb_iseq_load(). + Thu Feb 17 22:32:35 2011 CHIKANAGA Tomoyuki * test/ruby/test_marshal.rb (test_marshal_dump_extra_iv): diff --git a/iseq.c b/iseq.c index f563e95e54..b821c602a3 100644 --- a/iseq.c +++ b/iseq.c @@ -250,6 +250,7 @@ prepare_iseq_build(rb_iseq_t *iseq, iseq->compile_data = ALLOC(struct iseq_compile_data); MEMZERO(iseq->compile_data, struct iseq_compile_data, 1); + iseq->compile_data->err_info = Qnil; iseq->compile_data->mark_ary = rb_ary_tmp_new(3); iseq->compile_data->storage_head = iseq->compile_data->storage_current =