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 8e64799c96 fix RSTRUCT_LEN macro in public C API
rb_struct_size returns an Integer VALUE, so it must be converted
to a `long` for compatibility with previous Ruby C API versions.

* ext/-test-/struct/len.c: new
* test/-ext-/struct/test_len.rb: new
* include/ruby/ruby.h (RSTRUCT_LEN): use NUM2LONG
  [ruby-core:80692] [Bug #13439]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-04-15 00:46:00 +00:00
..
-test- fix RSTRUCT_LEN macro in public C API 2017-04-15 00:46:00 +00:00
bigdecimal bigdecimal: version 1.3.2 2017-03-13 06:03:18 +00:00
cgi/escape ruby tool/update-deps --fix 2017-03-22 06:00:18 +00:00
continuation Update dependencies 2016-07-06 05:48:13 +00:00
coverage ruby tool/update-deps --fix 2017-03-22 06:00:18 +00:00
date ruby tool/update-deps --fix 2017-03-22 06:00:18 +00:00
dbm Import gemspec from ruby/dbm 2017-04-11 08:49:01 +00:00
digest fix hexdigest [ci skip] 2016-10-20 13:18:52 +00:00
etc Merge upstream of ruby/etc. 2017-04-11 22:41:21 +00:00
fcntl gem name should be the downcase. 2017-02-24 06:50:43 +00:00
fiber Update dependencies 2016-07-06 05:48:13 +00:00
fiddle Added initial gemspec for ruby/fiddle. 2017-04-05 11:04:25 +00:00
gdbm Added initial gemspec for GDBM module. 2017-02-24 06:48:55 +00:00
io ruby tool/update-deps --fix 2017-03-22 06:00:18 +00:00
json Merge json-2.0.4. 2017-04-12 00:21:18 +00:00
mathn handle ext/ as r53141 2015-12-16 05:31:54 +00:00
nkf ruby tool/update-deps --fix 2017-03-22 06:00:18 +00:00
objspace ruby tool/update-deps --fix 2017-03-22 06:00:18 +00:00
openssl ruby tool/update-deps --fix 2017-03-22 06:00:18 +00:00
pathname ruby tool/update-deps --fix 2017-03-22 06:00:18 +00:00
psych Import psych-3.0.0.beta1 from ruby/psych. 2017-04-05 13:16:32 +00:00
pty ruby tool/update-deps --fix 2017-03-22 06:00:18 +00:00
racc/cparse Update dependencies 2016-07-06 05:48:13 +00:00
rbconfig/sizeof ruby tool/update-deps --fix 2017-03-22 06:00:18 +00:00
readline ruby tool/update-deps --fix 2017-03-22 06:00:18 +00:00
ripper ruby tool/update-deps --fix 2017-03-22 06:00:18 +00:00
rubyvm get rid of test failures introduced at r56848 2016-11-20 06:19:05 +00:00
sdbm Added initial gemspec for SDBM module. 2017-02-28 07:45:54 +00:00
socket IPSocket#inspect 2017-04-14 10:03:43 +00:00
stringio stringio.gemspec: requires ruby 2.2 2017-03-22 14:06:57 +00:00
strscan ruby tool/update-deps --fix 2017-03-22 06:00:18 +00:00
syslog Update dependencies. 2016-04-11 11:50:00 +00:00
win32 resolv9x.rb: fix typo 2017-02-14 12:34:11 +00:00
win32ole ext/win32ole/win32ole_variant.c (ole_val2variant_err): use FIXNUM_P, RB_TYPE_P 2017-04-08 02:37:03 +00:00
zlib ruby tool/update-deps --fix 2017-03-22 06:00:18 +00:00
.document
extmk.rb suppress warning: shadowing outer local variable - e 2017-03-07 05:19:00 +00:00
Setup * ext/tk: Tk is removed from stdlib. [Feature #8539] 2016-08-09 06:44:45 +00:00
Setup.atheos * ext/tk: Tk is removed from stdlib. [Feature #8539] 2016-08-09 06:44:45 +00:00
Setup.nacl * ext/tk: Tk is removed from stdlib. [Feature #8539] 2016-08-09 06:44:45 +00:00
Setup.nt * ext/tk: Tk is removed from stdlib. [Feature #8539] 2016-08-09 06:44:45 +00:00