diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-27 06:07:34 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-27 06:07:34 +0000 |
commit | bc278d437ef49b25e8de6fff927d9641f2b54735 (patch) | |
tree | d0b49d7c6c1f8cbc427e755c0fc7909b02f3cd46 /test/irb | |
parent | a62ff6e914574d98c587ac158adba570e78402ed (diff) | |
download | ruby-bc278d437ef49b25e8de6fff927d9641f2b54735.tar.gz |
fix non-static rb_scan_args
* include/ruby/ruby.h (rb_scan_args): remove nul padding which
caused syntax error if fmt is not a string literal.
* include/ruby/ruby.h (rb_scan_args_verify): suppress array-bounds
warnings by old clang.
* include/ruby/ruby.h (rb_scan_args0): make extractor macros
inline functions, which do not varidate the format and are
unnecessary to be expanded.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/irb')
0 files changed, 0 insertions, 0 deletions