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

ruby-changes:52986

From: mame <ko1@a...>
Date: Sat, 20 Oct 2018 14:44:23 +0900 (JST)
Subject: [ruby-changes:52986] mame:r65200 (trunk): thread.c (rb_clear_coverages): defined out of #ifdef

mame	2018-10-20 14:44:14 +0900 (Sat, 20 Oct 2018)

  New Revision: 65200

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

  Log:
    thread.c (rb_clear_coverages): defined out of #ifdef
    
    It failed to build on windows.
    https://ci.appveyor.com/project/ruby/ruby/builds/19655876

  Modified files:
    trunk/thread.c
Index: thread.c
===================================================================
--- thread.c	(revision 65199)
+++ thread.c	(revision 65200)
@@ -4313,7 +4313,6 @@ rb_thread_start_timer_thread(void) https://github.com/ruby/ruby/blob/trunk/thread.c#L4313
     rb_thread_create_timer_thread();
 }
 
-#if defined(HAVE_WORKING_FORK)
 static int
 clear_coverage_i(st_data_t key, st_data_t val, st_data_t dummy)
 {
@@ -4353,6 +4352,7 @@ rb_clear_coverages(void) https://github.com/ruby/ruby/blob/trunk/thread.c#L4352
     }
 }
 
+#if defined(HAVE_WORKING_FORK)
 static void
 rb_thread_atfork_internal(rb_thread_t *th, void (*atfork)(rb_thread_t *, const rb_thread_t *))
 {

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

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