[ruby-cvs:67943] nobu:r60762 (trunk): process.c: removed preserving_errno

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Nov 14 13:42:38 JST 2017


nobu	2017-11-14 13:42:38 +0900 (Tue, 14 Nov 2017)

  New Revision: 60762

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

  Log:
    process.c: removed preserving_errno
    
    * process.c (try_with_sh, handle_fork_error): added argument for
      errno.
    
    * process.c (proc_exec_cmd, proc_exec_sh, exec_async_signal_safe):
      now return errno instead of -1.
    
    * process.c (rb_fork_ruby): merged retry_fork_ruby() and unified
      clean-up after fork regardless failure.

  Modified files:
    trunk/process.c


More information about the ruby-cvs mailing list