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

ruby-changes:49360

From: k0kubun <ko1@a...>
Date: Mon, 25 Dec 2017 23:22:27 +0900 (JST)
Subject: [ruby-changes:49360] k0kubun:r61475 (trunk): cont.c: fix comment to follow field name change

k0kubun	2017-12-25 23:22:21 +0900 (Mon, 25 Dec 2017)

  New Revision: 61475

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

  Log:
    cont.c: fix comment to follow field name change
    
    saved_thread was renamed to saved_ec in r59831 [ci skip]

  Modified files:
    trunk/cont.c
Index: cont.c
===================================================================
--- cont.c	(revision 61474)
+++ cont.c	(revision 61475)
@@ -528,7 +528,7 @@ cont_save_thread(rb_context_t *cont, rb_ https://github.com/ruby/ruby/blob/trunk/cont.c#L528
     /* save thread context */
     *sec = *th->ec;
 
-    /* saved_thread->machine.stack_end should be NULL */
+    /* saved_ec->machine.stack_end should be NULL */
     /* because it may happen GC afterward */
     sec->machine.stack_end = NULL;
 

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

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