ruby-changes:47848
From: nobu <ko1@a...>
Date: Wed, 20 Sep 2017 08:09:15 +0900 (JST)
Subject: [ruby-changes:47848] nobu:r59968 (trunk): adjust indent
nobu 2017-09-20 08:09:10 +0900 (Wed, 20 Sep 2017) New Revision: 59968 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59968 Log: adjust indent Modified files: trunk/process.c Index: process.c =================================================================== --- process.c (revision 59967) +++ process.c (revision 59968) @@ -3530,24 +3530,24 @@ disable_child_handler_fork_child(struct https://github.com/ruby/ruby/blob/trunk/process.c#L3530 int ret; for (sig = 1; sig < NSIG; sig++) { - sig_t handler = signal(sig, SIG_DFL); + sig_t handler = signal(sig, SIG_DFL); - if (handler == SIG_ERR && errno == EINVAL) { - continue; /* Ignore invalid signal number */ - } - if (handler == SIG_ERR) { - ERRMSG("signal to obtain old action"); - return -1; - } + if (handler == SIG_ERR && errno == EINVAL) { + continue; /* Ignore invalid signal number */ + } + if (handler == SIG_ERR) { + ERRMSG("signal to obtain old action"); + return -1; + } #ifdef SIGPIPE - if (sig == SIGPIPE) { - continue; - } + if (sig == SIGPIPE) { + continue; + } #endif - /* it will be reset to SIG_DFL at execve time, instead */ - if (handler == SIG_IGN) { - signal(sig, SIG_IGN); - } + /* it will be reset to SIG_DFL at execve time, instead */ + if (handler == SIG_IGN) { + signal(sig, SIG_IGN); + } } ret = sigprocmask(SIG_SETMASK, &old->sigmask, NULL); /* async-signal-safe */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/