diff --git a/ChangeLog b/ChangeLog index 9c39f0b761..efbc4d660e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Jan 10 23:07:45 2005 Nobuyoshi Nakada + + * variable.c (rb_autoload): hide internal data from ruby level. + fixed: [ruby-dev:25373] + Mon Jan 10 15:28:51 2005 GOTOU Yuuzou * lib/webrick/cgi.rb (WEBrick::CGI::Socket#request_line): should diff --git a/variable.c b/variable.c index 9a9399721a..fb3e3cc4e7 100644 --- a/variable.c +++ b/variable.c @@ -1293,6 +1293,7 @@ rb_autoload(mod, id, file) } else { av = Data_Wrap_Struct(rb_cData, rb_mark_tbl, st_free_table, 0); + RBASIC(av)->klass = 0; st_add_direct(tbl, autoload, av); DATA_PTR(av) = tbl = st_init_numtable(); }