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

ruby-changes:38033

From: hsbt <ko1@a...>
Date: Sun, 29 Mar 2015 21:09:09 +0900 (JST)
Subject: [ruby-changes:38033] hsbt:r50114 (trunk): * gc.c (objspace_allrefs_destruct_i): fix a typo.

hsbt	2015-03-29 21:08:43 +0900 (Sun, 29 Mar 2015)

  New Revision: 50114

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

  Log:
    * gc.c (objspace_allrefs_destruct_i): fix a typo.
      [Bug #11013]

  Modified files:
    trunk/ChangeLog
    trunk/gc.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 50113)
+++ ChangeLog	(revision 50114)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Mar 29 21:08:37 2015  SHIBATA Hiroshi  <shibata.hiroshi@g...>
+
+	* gc.c (objspace_allrefs_destruct_i): fix a typo.
+	  [Bug #11013]
+
 Sun Mar 29 11:51:32 2015  Nobuyoshi Nakada  <nobu@r...>
 
 	* proc.c (proc_binding): replicate env from method object, and
Index: gc.c
===================================================================
--- gc.c	(revision 50113)
+++ gc.c	(revision 50114)
@@ -4692,7 +4692,7 @@ objspace_allrefs(rb_objspace_t *objspace https://github.com/ruby/ruby/blob/trunk/gc.c#L4692
 }
 
 static int
-objspaec_allrefs_destruct_i(st_data_t key, st_data_t value, void *ptr)
+objspace_allrefs_destruct_i(st_data_t key, st_data_t value, void *ptr)
 {
     struct reflist *refs = (struct reflist *)value;
     reflist_destruct(refs);
@@ -4702,7 +4702,7 @@ objspaec_allrefs_destruct_i(st_data_t ke https://github.com/ruby/ruby/blob/trunk/gc.c#L4702
 static void
 objspace_allrefs_destruct(struct st_table *refs)
 {
-    st_foreach(refs, objspaec_allrefs_destruct_i, 0);
+    st_foreach(refs, objspace_allrefs_destruct_i, 0);
     st_free_table(refs);
 }
 

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

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