[ruby-cvs:54785] nobu:r47637 (trunk): class.c: do not freeze class of hidden object

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Sep 19 11:40:59 JST 2014


nobu	2014-09-19 11:40:58 +0900 (Fri, 19 Sep 2014)

  New Revision: 47637

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47637

  Log:
    class.c: do not freeze class of hidden object
    
    * class.c (rb_freeze_singleton_class): get rid of freeze class of
      hidden object to fix segfaults.
    
    * include/ruby/ruby.h (rb_obj_freeze_inline): ditto.

  Modified files:
    trunk/class.c
    trunk/include/ruby/ruby.h


More information about the ruby-cvs mailing list