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

ruby-changes:34305

From: nobu <ko1@a...>
Date: Mon, 9 Jun 2014 16:01:55 +0900 (JST)
Subject: [ruby-changes:34305] nobu:r46386 (trunk): gc.c: fix typo

nobu	2014-06-09 16:01:44 +0900 (Mon, 09 Jun 2014)

  New Revision: 46386

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

  Log:
    gc.c: fix typo
    
    * gc.c (gcdebug_sentinel): fix typo, "sentinel" not "sential".
      [fix GH-634]

  Modified files:
    trunk/ChangeLog
    trunk/gc.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 46385)
+++ ChangeLog	(revision 46386)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Jun  9 16:01:41 2014  Masahiro Ide  <imasahiro9@g...>
+
+	* gc.c (gcdebug_sentinel): fix typo, "sentinel" not "sential".
+	  [fix GH-634]
+
 Mon Jun  9 00:04:25 2014  Nobuyoshi Nakada  <nobu@r...>
 
 	* configure.in (posix_fadvise): disable use of posix_fadvise
Index: gc.c
===================================================================
--- gc.c	(revision 46385)
+++ gc.c	(revision 46386)
@@ -7650,7 +7650,7 @@ rb_gcdebug_print_obj_condition(VALUE obj https://github.com/ruby/ruby/blob/trunk/gc.c#L7650
 }
 
 static VALUE
-gcdebug_sential(VALUE obj, VALUE name)
+gcdebug_sentinel(VALUE obj, VALUE name)
 {
     fprintf(stderr, "WARNING: object %s(%p) is inadvertently collected\n", (char *)name, (void *)obj);
     return Qnil;
@@ -7659,7 +7659,7 @@ gcdebug_sential(VALUE obj, VALUE name) https://github.com/ruby/ruby/blob/trunk/gc.c#L7659
 void
 rb_gcdebug_sentinel(VALUE obj, const char *name)
 {
-    rb_define_finalizer(obj, rb_proc_new(gcdebug_sential, (VALUE)name));
+    rb_define_finalizer(obj, rb_proc_new(gcdebug_sentinel, (VALUE)name));
 }
 #endif /* GC_DEBUG */
 

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

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