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

ruby-changes:31740

From: nagachika <ko1@a...>
Date: Sun, 24 Nov 2013 00:35:10 +0900 (JST)
Subject: [ruby-changes:31740] nagachika:r43819 (trunk): * ChangeLog: fix a typo at r43744.

nagachika	2013-11-24 00:35:04 +0900 (Sun, 24 Nov 2013)

  New Revision: 43819

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

  Log:
    * ChangeLog: fix a typo at r43744.
    
    * gc.c (is_mark_stack_empty): ditto.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 43818)
+++ ChangeLog	(revision 43819)
@@ -316,7 +316,7 @@ Thu Nov 21 13:43:07 2013  Koichi Sasada https://github.com/ruby/ruby/blob/trunk/ChangeLog#L316
 	  "struct reflist".
 
 	* gc.c (init_mark_stack): do not use push_mark_stack_chunk() at init.
-	  This pre-allocation causes failure on is_mark_stask_empty()
+	  This pre-allocation causes failure on is_mark_stack_empty()
 	  without any pushing.
 
 Thu Nov 21 13:40:20 2013  Zachary Scott  <e@z...>
Index: gc.c
===================================================================
--- gc.c	(revision 43818)
+++ gc.c	(revision 43819)
@@ -3030,7 +3030,7 @@ stack_chunk_alloc(void) https://github.com/ruby/ruby/blob/trunk/gc.c#L3030
 }
 
 static inline int
-is_mark_stask_empty(mark_stack_t *stack)
+is_mark_stack_empty(mark_stack_t *stack)
 {
     return stack->chunk == NULL;
 }
@@ -3117,7 +3117,7 @@ push_mark_stack(mark_stack_t *stack, VAL https://github.com/ruby/ruby/blob/trunk/gc.c#L3117
 static int
 pop_mark_stack(mark_stack_t *stack, VALUE *data)
 {
-    if (is_mark_stask_empty(stack)) {
+    if (is_mark_stack_empty(stack)) {
         return FALSE;
     }
     if (stack->index == 1) {

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

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