diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-15 02:09:27 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-15 02:09:27 +0000 |
commit | 0472578b26793e45434769200a806cb6190e5700 (patch) | |
tree | 46dbee7a4fdfe609699e9b24f733b3041c8330c4 /error.c | |
parent | 6f1fbfd6187db01e3c3967468cc8b182fc8ca847 (diff) | |
download | ruby-0472578b26793e45434769200a806cb6190e5700.tar.gz |
ruby.h: check argc to rb_funcall
* include/ruby/ruby.h (rb_funcall): check if argc matches the
number of variadic arguments, and replace with rb_funcallv.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -963,7 +963,7 @@ rb_get_backtrace(VALUE exc) return Qnil; return rb_check_backtrace(info); } - return rb_funcall(exc, mid, 0, 0); + return rb_funcallv(exc, mid, 0, 0); } /* |