ruby-changes:27867
From: nari <ko1@a...>
Date: Mon, 25 Mar 2013 02:16:04 +0900 (JST)
Subject: [ruby-changes:27867] nari:r39919 (trunk): * proc.c (bm_free): need to clean up the mark flag of a free and
nari 2013-03-25 02:15:54 +0900 (Mon, 25 Mar 2013) New Revision: 39919 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39919 Log: * proc.c (bm_free): need to clean up the mark flag of a free and unlinked method entry. [Bug #8100] [ruby-core:53439] Modified files: trunk/ChangeLog trunk/proc.c Index: ChangeLog =================================================================== --- ChangeLog (revision 39918) +++ ChangeLog (revision 39919) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Mon Mar 25 02:01:03 2013 Narihiro Nakamura <authornari@g...> + + * proc.c (bm_free): need to clean up the mark flag of a free and + unlinked method entry. [Bug #8100] [ruby-core:53439] + Sun Mar 24 22:13:51 2013 NARUSE, Yui <naruse@r...> * string.c (rb_str_rpartition): revert r39903, and convert byte offset Index: proc.c =================================================================== --- proc.c (revision 39918) +++ proc.c (revision 39919) @@ -905,6 +905,7 @@ bm_free(void *ptr) https://github.com/ruby/ruby/blob/trunk/proc.c#L905 { struct METHOD *data = ptr; struct unlinked_method_entry_list_entry *ume = data->ume; + data->me->mark = 0; ume->me = data->me; ume->next = GET_VM()->unlinked_method_entry_list; GET_VM()->unlinked_method_entry_list = ume; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/