1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext
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
..
-test- ruby.h: relax rb_funcall check on extra args for clang 2018-01-30 23:55:49 +00:00
bigdecimal
cgi/escape
continuation
coverage update dependencies 2018-01-09 06:55:55 +00:00
date
dbm marked as NORETURN 2018-01-18 11:34:36 +00:00
digest
etc
fcntl
fiber
fiddle
gdbm marked as NORETURN 2018-01-18 11:34:36 +00:00
io
json
nkf
objspace node.c: Stop double meaning of NODE_FOR by introducing NODE_FOR_MASGN 2018-01-16 07:24:53 +00:00
openssl openssl/buffering.rb: no RS when output 2018-01-25 11:21:47 +00:00
pathname
psych ext/psych/.gitignore: removed stale file [ci skip] 2018-01-26 03:13:32 +00:00
pty process.c: add :exception option to Kernel.#system 2018-01-24 14:11:25 +00:00
racc/cparse
rbconfig/sizeof
readline ignore external library sources [ci skip] 2018-01-26 03:13:33 +00:00
ripper ext/ripper/tools/dsl.rb: Use String#sub instead of delete_suffix 2018-01-20 17:52:51 +00:00
rubyvm
sdbm marked as NORETURN 2018-01-18 11:34:36 +00:00
socket init.c: encode socket error message 2018-01-23 15:31:22 +00:00
stringio
strscan
syslog
win32 win32/resolv.rb: call rb_w32_osid 2018-01-18 01:10:22 +00:00
win32ole
zlib ignore external library sources [ci skip] 2018-01-26 03:13:33 +00:00
.document
extmk.rb extmk.rb: exclude recursively 2018-01-07 02:49:27 +00:00
Setup
Setup.atheos
Setup.nt