From c8094ff154065f243292a09dce5d4c8d90f8309a Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 16 Feb 2018 08:39:48 +0000 Subject: no ID cache in Init functions Init functions are called only once, cache is useless. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- proc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'proc.c') diff --git a/proc.c b/proc.c index 3213cedd74..08ec25cb3c 100644 --- a/proc.c +++ b/proc.c @@ -3078,6 +3078,7 @@ rb_method_curry(int argc, const VALUE *argv, VALUE self) void Init_Proc(void) { +#undef rb_intern /* Proc */ rb_cProc = rb_define_class("Proc", rb_cObject); rb_undef_alloc_func(rb_cProc); -- cgit v1.2.3