summaryrefslogtreecommitdiff
path: root/ext/zlib
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-16 08:39:48 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-16 08:39:48 (GMT)
commitc8094ff154065f243292a09dce5d4c8d90f8309a (patch)
tree28ccfd4e07acf80942775e6db9811d41a9595ff0 /ext/zlib
parent24dfe5e749eaa34bc6c1cba15811efbcc0a578f4 (diff)
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
Diffstat (limited to 'ext/zlib')
-rw-r--r--ext/zlib/zlib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c
index a938946..6bd3444 100644
--- a/ext/zlib/zlib.c
+++ b/ext/zlib/zlib.c
@@ -4477,6 +4477,7 @@ zlib_gunzip_run(VALUE arg)
void
Init_zlib(void)
{
+#undef rb_intern
VALUE mZlib, cZStream, cDeflate, cInflate;
#if GZIP_SUPPORT
VALUE cGzipFile, cGzipWriter, cGzipReader;