[ruby-cvs:51000] ko1:r43856 (trunk): * ext/objspace/object_tracing.c (newobj_i): skip class_path if class

ko1 at ruby-lang.org ko1 at ruby-lang.org
Tue Nov 26 19:26:43 JST 2013


ko1	2013-11-26 19:26:41 +0900 (Tue, 26 Nov 2013)

  New Revision: 43856

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

  Log:
    * ext/objspace/object_tracing.c (newobj_i): skip class_path if class
      is frozen.
      rb_class_path() can modify frozen classes (and causes errors).
      This patch is temporary. We need no-modification/no-allocation
      class path function.

  Modified files:
    trunk/ChangeLog
    trunk/ext/objspace/object_tracing.c


More information about the ruby-cvs mailing list