[前][次][番号順一覧][スレッド一覧]

ruby-changes:6441

From: mame <ko1@a...>
Date: Tue, 8 Jul 2008 21:48:30 +0900 (JST)
Subject: [ruby-changes:6441] Ruby:r17957 (trunk): * vm.c (rb_vm_mark): mark the last element of special_exceptions.

mame	2008-07-08 21:45:50 +0900 (Tue, 08 Jul 2008)

  New Revision: 17957

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

  Log:
    * vm.c (rb_vm_mark): mark the last element of special_exceptions.

  Modified files:
    trunk/ChangeLog
    trunk/vm.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 17956)
+++ ChangeLog	(revision 17957)
@@ -1,3 +1,7 @@
+Tue Jul  8 21:45:22 2008  Yusuke Endoh  <mame@t...>
+
+	* vm.c (rb_vm_mark): mark the last element of special_exceptions.
+
 Tue Jul  8 19:55:40 2008  Masaki Suketa  <masaki.suketa@n...>
 
 	* ext/win32ole/win32ole.c (find_default_source): try to
Index: vm.c
===================================================================
--- vm.c	(revision 17956)
+++ vm.c	(revision 17957)
@@ -1396,7 +1396,7 @@
 	RUBY_MARK_UNLESS_NULL(vm->loaded_features);
 	RUBY_MARK_UNLESS_NULL(vm->top_self);
 	RUBY_MARK_UNLESS_NULL(vm->coverages);
-	rb_gc_mark_locations(vm->special_exceptions, vm->special_exceptions + ruby_special_error_count - 1);
+	rb_gc_mark_locations(vm->special_exceptions, vm->special_exceptions + ruby_special_error_count);
 
 	if (vm->loading_table) {
 	    rb_mark_tbl(vm->loading_table);

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]