1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/dl
shirosaki 8ad8407e60 dl/cfunc.c: fix conversion of Bignum
* ext/dl/cfunc.c (rb_dlcfunc_call): fix conversion from Bignum to
  pointer. sizeof(DLSTACK_TYPE) is larger than sizeof(long) on
  Windows x64 and higher bits over sizeof(long) of DLSTACK_TYPE was
  zero even if a pointer value was over 32 bits which causes SEGV on
  DL::TestCPtr#test_to_ptr_io. Adding a cast solves the bug.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-24 13:39:08 +00:00
..
callback * lib/mkmf.rb: Add ruby/ruby.h, ruby/missing.h, ruby/intern.h, 2013-04-13 00:46:29 +00:00
lib * ext/dl/lib/dl/func.rb (DL::Function#call): check tainted when 2013-05-14 11:06:58 +00:00
win32 * ext/dl/win32/extconf.rb: Fix typo 2012-12-11 03:02:04 +00:00
cfunc.c dl/cfunc.c: fix conversion of Bignum 2013-06-24 13:39:08 +00:00
cptr.c * safe.c (rb_set_safe_level, safe_setter): raise an ArgumentError 2013-06-12 14:20:51 +00:00
depend * lib/mkmf.rb: Add ruby/ruby.h, ruby/missing.h, ruby/intern.h, 2013-04-13 00:46:29 +00:00
dl.c * safe.c (rb_set_safe_level, safe_setter): raise an ArgumentError 2013-06-12 14:20:51 +00:00
dl.h dl/dl.h: suppress warning 2013-04-05 07:46:26 +00:00
extconf.rb * ext/dl/dl.c (Init_dl): support intrinsic types, size_t, ptrdiff_t 2012-02-25 05:47:16 +00:00
handle.c * encoding.c (rb_enc_codepoint_len): Use UNREACHABLE to avoid "control 2012-04-13 23:45:37 +00:00