compile.c: use correct key for block when loading serialized iseqs

* compile.c (iseq_build_from_ary_body): Use :blockptr instead of :block
  as hash key when loading serialized instruction sequences from arrays.
  [Bug #9455] [ruby-core:60146]

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2014-01-28

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
vm_core.h: rb_thread_struct::machine

* vm_core.h (rb_thread_struct): aggregate cpu stuff into a struct,
  so that a debugger can show its content at once.

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/zlib/zlib.c (rb_zlib_adler32): [DOC] Add example for adler32
  Patch by Vajrasky Kok [Bug #9307] [ci skip]


git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/set.rb: [DOC] Add examples for Set#intersect? and Set#disjoint?
  Patch by xavier nayrac [Bug #9331] [ci skip]


git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread_pthread.c: rlimit is only available on Linux.
  At least r44712 breaks FreeBSD.
  [ruby-core:60113] [Bug #9454]

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
thread_pthread.c: use get_stack

* thread_pthread.c (ruby_init_stack, ruby_stack_overflowed_p):
  place get_stack above others to get stack boundary information.
  [ruby-core:60113] [Bug #9454]

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* process.c (READ_FROM_CHILD): Apply the last hunk of
  0001-process.c-avoid-EINTR-from-Process.spawn.patch written by
  Eric Wong in [Bug #8770].



git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/socket: Avoid redundant fcntl/fstat syscalls for cloexec
  sockets.
  Patch by Eric Wong.  [ruby-core:59429] [Feature #9330]



git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
doc/contributing.rdoc: allow/encourage other git hosts

git is a distributed system, so make it clear to potential contributors
that it does not and should not matter where their repositories are
hosted.

Furthermore, it should be possible to contribute to Open Source projects
by relying only on Open Source tools, protocols and APIs.

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2014-01-29

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/fiddle/closure.c: use sizeof(*pcl) for correct sizeof value.
  [ruby-core:57599] [Bug #8978].  Thanks mame!

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/openssl/ossl_ssl.c: pass read_nonblock options to underlying IO
  when SSL session has not been started.

* test/openssl/test_ssl.rb: test for change.

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: remove a duplicated entry at r44726.

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
socket.c: suppress warnings

* ext/socket/socket.c (rsock_socketpair0): suppress unused label
  warnings.

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
io.c: remove socket check

* io.c (nogvl_copy_stream_sendfile): remove socket check
  [ruby-core:59856][Feature #9427]

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
io.c: check socket on other than linux

* io.c (nogvl_copy_stream_sendfile): check socket on other than
  linux, as sendfile(2) on non-socket fd works only on linux.
  [Feature #9427]

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/fiddle/closure.c: use sizeof(*pcl) for correct sizeof value.
  [ruby-core:57599] [Bug #8978].

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2014-01-30

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
test_exception.rb: ignore SystemStackError

* test/ruby/test_exception.rb (test_machine_stackoverflow_by_define_method):
  ignore propagated SystemStackError, as well as
  test_machine_stackoverflow, which has not bee rescued in the child
  process by unknown reason.

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e