1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/include/ruby
akr 1efb3c31b7 * Avoid undefined behaviors found by gcc -fsanitize=undefined.
gcc (Debian 4.9.1-16) 4.9.1

* include/ruby/ruby.h (INT2FIX): Avoid undefined behavior.

* node.h (nd_set_line): Ditto.

* pack.c (encodes): Ditto.
  (pack_unpack): Ditto.

* regint.h (BIT_STATUS_AT): Ditto.
  (BS_BIT): Ditto.

* time.c (time_mdump): Ditto.
  (time_mload): Ditto.

* vm_core.h (VM_FRAME_MAGIC_MASK): Ditto.

* vm_trace.c (recalc_add_ruby_vm_event_flags): Ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-17 08:50:01 +00:00
..
backward
debug.h
defines.h
encoding.h string.c: rb_str_new_static 2014-09-19 05:53:00 +00:00
intern.h Fixes build failures on Portable Native Client. 2014-10-11 13:33:14 +00:00
io.h io.c: move RFile initialization 2014-10-10 02:34:24 +00:00
missing.h
oniguruma.h * reg*.c: Merge Onigmo 5.15.0 38a870960aa7370051a3544 2014-09-15 16:18:41 +00:00
re.h
regex.h
ruby.h * Avoid undefined behaviors found by gcc -fsanitize=undefined. 2014-10-17 08:50:01 +00:00
st.h
subst.h
thread.h
thread_native.h
util.h
version.h
vm.h
win32.h