ruby-changes:29319
From: ko1 <ko1@a...>
Date: Tue, 18 Jun 2013 10:18:45 +0900 (JST)
Subject: [ruby-changes:29319] ko1:r41371 (trunk): * variable.c (rb_autoload): fix WB miss.
ko1 2013-06-18 10:18:32 +0900 (Tue, 18 Jun 2013) New Revision: 41371 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41371 Log: * variable.c (rb_autoload): fix WB miss. Modified files: trunk/ChangeLog trunk/variable.c Index: ChangeLog =================================================================== --- ChangeLog (revision 41370) +++ ChangeLog (revision 41371) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Tue Jun 18 10:17:37 2013 Koichi Sasada <ko1@a...> + + * variable.c (rb_autoload): fix WB miss. + Tue Jun 18 04:20:18 2013 Koichi Sasada <ko1@a...> * gc.c (gc_mark_children): don't need to care about T_ZOMBIE here. Index: variable.c =================================================================== --- variable.c (revision 41370) +++ variable.c (revision 41371) @@ -1621,6 +1621,7 @@ rb_autoload(VALUE mod, ID id, const char https://github.com/ruby/ruby/blob/trunk/variable.c#L1621 if (!tbl) tbl = RCLASS_IV_TBL(mod) = st_init_numtable(); av = (st_data_t)TypedData_Wrap_Struct(0, &autoload_data_type, 0); st_add_direct(tbl, (st_data_t)autoload, av); + OBJ_WRITTEN(mod, Qnil, av); DATA_PTR(av) = tbl = st_init_numtable(); } fn = rb_str_new2(file); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/