replace tabs with spaces in various files
The affected files in this patch had inconsistent use of tabs vs. spaces for indentation, and this patch eliminates the stray tabs. Also, the opening brace of sigchld_hdl() in activate.c was moved so the opening braces are consistent throughout the file.
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
e79f68d11d
commit
e9c1ea9de8
@@ -290,16 +290,15 @@ static int do_accept(const char* name, char **argv, char **envp, int fd) {
|
||||
}
|
||||
|
||||
/* SIGCHLD handler. */
|
||||
static void sigchld_hdl(int sig, siginfo_t *t, void *data)
|
||||
{
|
||||
static void sigchld_hdl(int sig, siginfo_t *t, void *data) {
|
||||
log_info("Child %d died with code %d", t->si_pid, t->si_status);
|
||||
/* Wait for a dead child. */
|
||||
waitpid(t->si_pid, NULL, 0);
|
||||
/* Wait for a dead child. */
|
||||
waitpid(t->si_pid, NULL, 0);
|
||||
}
|
||||
|
||||
static int install_chld_handler(void) {
|
||||
int r;
|
||||
struct sigaction act;
|
||||
struct sigaction act;
|
||||
zero(act);
|
||||
act.sa_flags = SA_SIGINFO;
|
||||
act.sa_sigaction = sigchld_hdl;
|
||||
|
||||
Reference in New Issue
Block a user