ruby-changes:64357
From: Koichi <ko1@a...>
Date: Sun, 20 Dec 2020 04:23:20 +0900 (JST)
Subject: [ruby-changes:64357] c1461c927b (master): cgi/escape is ractor-safe
https://git.ruby-lang.org/ruby.git/commit/?id=c1461c927b From c1461c927b123468ba83713676dcda48e51c8ec1 Mon Sep 17 00:00:00 2001 From: Koichi Sasada <ko1@a...> Date: Sun, 20 Dec 2020 04:09:40 +0900 Subject: cgi/escape is ractor-safe diff --git a/ext/cgi/escape/escape.c b/ext/cgi/escape/escape.c index 4718881..77627e2 100644 --- a/ext/cgi/escape/escape.c +++ b/ext/cgi/escape/escape.c @@ -388,6 +388,10 @@ cgiesc_unescape(int argc, VALUE *argv, VALUE self) https://github.com/ruby/ruby/blob/trunk/ext/cgi/escape/escape.c#L388 void Init_escape(void) { +#if HAVE_RB_EXT_RACTOR_SAFE + rb_ext_ractor_safe(true); +#endif + id_accept_charset = rb_intern_const("@@accept_charset"); InitVM(escape); } -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/