From c463366dfd75056885028a95e8e2fc6e135d9194 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 29 Jul 2016 11:57:14 +0000 Subject: rb_funcallv * *.c: rename rb_funcall2 to rb_funcallv, except for extensions which are/will be/may be gems. [Fix GH-1406] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'string.c') diff --git a/string.c b/string.c index a5b1279084..26f2324b95 100644 --- a/string.c +++ b/string.c @@ -3526,7 +3526,7 @@ rb_str_match_m(int argc, VALUE *argv, VALUE str) rb_check_arity(argc, 1, 2); re = argv[0]; argv[0] = str; - result = rb_funcall2(get_pat(re), rb_intern("match"), argc, argv); + result = rb_funcallv(get_pat(re), rb_intern("match"), argc, argv); if (!NIL_P(result) && rb_block_given_p()) { return rb_yield(result); } -- cgit v1.2.3