From aacc35e144f2a3d5c145f85e337accd55a8acc90 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 3 Dec 2014 08:13:26 +0000 Subject: encoding.c: load by rb_require_internal * encoding.c (load_encoding): use rb_require_internal instead of calling rb_require_safe with protection. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'load.c') diff --git a/load.c b/load.c index 5036d8bf24..4f1a0c1a78 100644 --- a/load.c +++ b/load.c @@ -947,7 +947,7 @@ load_ext(VALUE path) * <0: not found (LoadError) * >1: exception */ -static int +int rb_require_internal(VALUE fname, int safe) { volatile int result = -1; -- cgit v1.2.3