1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/-test-
normal 3ce9a14040 ruby.h: relax rb_funcall check on extra args for clang
clang 5.+ (tested clang 7.0.0) seems to be attempting division-by-zero
and giving a very large number for static args to rb_funcall.

* include/ruby/ruby.h (rb_varargs_bad_length): relax check for clang
* ext/-test-/funcall/funcall.c: renamed from passing_block.c
  define extra_args_name function
* test/-ext-/funcall/test_funcall.rb: new test
  [ruby-core:85266] [Bug #14425]

From: Eric Wong <e@80x24.org>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-01-30 23:55:49 +00:00
..
array/resize
ast node.c: Stop double meaning of NODE_FOR by introducing NODE_FOR_MASGN 2018-01-16 07:24:53 +00:00
bignum
bug-3571
bug-5832
bug_reporter
class
debug
dln/empty
exception
fatal
file
float
funcall ruby.h: relax rb_funcall check on extra args for clang 2018-01-30 23:55:49 +00:00
gvl/call_without_gvl
hash
integer
iseq_load
iter
load load.c: fix rb_load_protect condition 2017-09-24 05:22:23 +00:00
marshal
memory_status long long is a C99ism 2018-01-02 06:41:47 +00:00
method
notimplement
num2int
path_to_class
popen_deadlock
postponed_job
printf
proc
rational
recursion
regexp
scan_args
st
string internal.h: remove dependecy on ruby/encoding.h 2018-01-09 06:24:11 +00:00
struct
symbol
thread_fd_close
time Init functions should have prefix to avoid confliction. 2017-12-03 08:02:56 +00:00
tracepoint
typeddata
vm
wait_for_single_fd
win32 test_console_attr.rb: fix test 2018-01-15 12:25:24 +00:00
auto_ext.rb