test_process.rb: deadlock test

* test/ruby/test_process.rb (test_deadlock_by_signal_at_forking): test
  for r44687, deadlock in rb_fork_internal().

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
assertions.rb: allow proc

* lib/test/unit/assertions.rb (assert_raise): allow a proc as
  message like as other assertions.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
test_process.rb: fix condition

* test/ruby/test_process.rb (test_deadlock_by_signal_at_forking):
  fix condition to define.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby/test_settracefunc.rb: check the target thread.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby/test_settracefunc.rb: check the target thread.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby/envutil.rb: try to wait a bit (0.1sec) when ruby process
  exits by signals because some SEGV tests fail because of not enough
  error output.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/racc/rdoc/grammar.en.rdoc: [DOC] Correct grammar and typos
  Patch by Giorgos Tsiftsis [Bug #9429] [ci skip]


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

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
test_process.rb: clock_getres may not supported

* test/ruby/test_process.rb (test_clock_getres): ignore if
  clock_getres is no supported, e.g., on old Linux.

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
vm_backtrace.c: initialize flag

* vm_backtrace.c (rb_backtrace_print_as_bugreport): initialize
  header-printed flag.

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

* class.c (rb_obj_methods): simplify without jump.

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

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
class.c: allow nil keyword_hash

* class.c (rb_extract_keywords): treat nil keyword_hash same as 0,
  for the case rb_scan_args returns nil if no keyword hash.

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
insns.def: adjust style

* insns.def (opt_mod, opt_aset_with, opt_aref_with, opt_regexpmatch1):
  adjust style, do not cuddle else up.

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
compile.c: mark fstring

* compile.c (iseq_compile_each): fstring is need marking.

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
compile.c: assignment result of aset_with

* compile.c (iseq_compile_each): result of assignment should be
  its rhs instead of returned value from a method.
  [ruby-core:60071] [Bug #9448]

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
process.c: avoid EINTR from Process.spawn

* process.c (send_child_error): retry write on EINTR to fix
  occasional Errno::EINTR from Process.spawn.
* process.c (recv_child_error): retry read on EINTR to fix
  occasional Errno::EINTR from Process.spawn.

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