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

ruby-changes:33991

From: nobu <ko1@a...>
Date: Sat, 24 May 2014 15:20:39 +0900 (JST)
Subject: [ruby-changes:33991] nobu:r46072 (trunk): gc.c: fix typo

nobu	2014-05-24 15:20:34 +0900 (Sat, 24 May 2014)

  New Revision: 46072

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

  Log:
    gc.c: fix typo
    
    * gc.c (objspace_malloc_increase): fix typo.
      "increase" not "incraese".

  Modified files:
    trunk/gc.c
Index: gc.c
===================================================================
--- gc.c	(revision 46071)
+++ gc.c	(revision 46072)
@@ -6160,7 +6160,7 @@ objspace_malloc_increase(rb_objspace_t * https://github.com/ruby/ruby/blob/trunk/gc.c#L6160
 	atomic_sub_nounderflow(&objspace->malloc_params.allocated_size, dec_size);
     }
 
-    if (0) fprintf(stderr, "incraese - ptr: %p, type: %s, new_size: %d, old_size: %d\n",
+    if (0) fprintf(stderr, "increase - ptr: %p, type: %s, new_size: %d, old_size: %d\n",
 		   mem,
 		   type == MEMOP_TYPE_MALLOC  ? "malloc" :
 		   type == MEMOP_TYPE_FREE    ? "free  " :

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

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