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 flexible array member is a C99ism 2018-01-02 06:41:48 +00:00
cgi/escape cgi/util.rb: Don't escape tilde in #escape 2017-05-17 12:34:59 +00:00
continuation
coverage update dependencies 2018-01-09 06:55:55 +00:00
date Bump version to date-1.0.0 as default gems. 2017-12-11 03:56:01 +00:00
dbm marked as NORETURN 2018-01-18 11:34:36 +00:00
digest Remove digest.gemspec for default gems. 2017-12-19 02:43:09 +00:00
etc Bump version to etc-1.0.0 as default gems. 2017-12-13 05:52:47 +00:00
fcntl Bump version to fcntl-1.0.0 as default gems. 2017-12-11 06:03:53 +00:00
fiber
fiddle Bump fiddle-1.0.0 for released version. 2017-12-06 08:35:13 +00:00
gdbm marked as NORETURN 2018-01-18 11:34:36 +00:00
io gperf.sed: static declarations 2017-12-15 14:42:43 +00:00
json Merge json-2.1.0 from https://github.com/flori/json 2017-06-16 03:04:46 +00:00
nkf ext: check if null byte is contained 2017-09-30 08:35:23 +00:00
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 pathname.c: improve docs for Pathname 2017-11-07 20:14:46 +00:00
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 configure.ac 2017-09-29 13:21:17 +00:00
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 get rid of test failures introduced at r56848 2016-11-20 06:19:05 +00:00
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 [DOC] StringIO#write accepts multiple arguments since r60377 [ci skip] 2017-12-22 03:35:54 +00:00
strscan Update version of strscan to 1.0.0. 2017-12-19 03:12:22 +00:00
syslog ext: check if null byte is contained 2017-09-30 08:35:23 +00:00
win32 win32/resolv.rb: call rb_w32_osid 2018-01-18 01:10:22 +00:00
win32ole hide internal data objects 2017-12-04 07:37:21 +00:00
zlib ignore external library sources [ci skip] 2018-01-26 03:13:33 +00:00
.document ext/.document: follow-up r59734 2017-09-03 13:31:34 +00:00
extmk.rb extmk.rb: exclude recursively 2018-01-07 02:49:27 +00:00
Setup Removed deprecated extensions of mathn. 2017-04-20 08:21:24 +00:00
Setup.atheos
Setup.nt