ruby-changes:64125
From: Nobuyoshi <ko1@a...>
Date: Sun, 13 Dec 2020 13:15:08 +0900 (JST)
Subject: [ruby-changes:64125] 416e402cf3 (master): Fixed a suspicious comparison
https://git.ruby-lang.org/ruby.git/commit/?id=416e402cf3 From 416e402cf3d756dcf9c5b10dc7042adf686efacf Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sun, 13 Dec 2020 13:12:18 +0900 Subject: Fixed a suspicious comparison diff --git a/ractor.c b/ractor.c index 4b02b3f..f7be7da 100644 --- a/ractor.c +++ b/ractor.c @@ -888,7 +888,7 @@ ractor_select(rb_execution_context_t *ec, const VALUE *rs, int alen, VALUE yield https://github.com/ruby/ruby/blob/trunk/ractor.c#L888 { VM_ASSERT(cr->sync.wait.status == wait_none); cr->sync.wait.status = wait_status; - cr->sync.wait.wakeup_status == wakeup_none; + cr->sync.wait.wakeup_status = wakeup_none; } RACTOR_UNLOCK(cr); -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/