[ruby-cvs:69953] usa:r62816 (ruby_2_3): merge revision(s) 59975: [Backport #13916]

usa at ruby-lang.org usa at ruby-lang.org
Sun Mar 18 23:56:08 JST 2018


usa	2018-03-18 23:56:08 +0900 (Sun, 18 Mar 2018)

  New Revision: 62816

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62816

  Log:
    merge revision(s) 59975: [Backport #13916]
    
    process: block/unblock signals around fork
    
    As with forking for execve(2) in `spawn', we must block signals
    to ensure they are handled correctly in a freshly `fork'-ed child.
    
    * process.c (retry_fork_ruby): block/unblock signals around fork
      (rb_fork_ruby): re-enable signals in forked child
    * test/ruby/test_process.rb (test_forked_child_signal): new test
      [ruby-core:82883] [Bug #13916]
    
      Thanks to Russell Davis for the bug report and test case.

  Modified directories:
    branches/ruby_2_3/
  Modified files:
    branches/ruby_2_3/ChangeLog
    branches/ruby_2_3/process.c
    branches/ruby_2_3/test/ruby/test_process.rb
    branches/ruby_2_3/version.h


More information about the ruby-cvs mailing list