From 7b8d0a9b5c1af632c9c01e69a6db90ff1ffc9719 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 12 Dec 1996 17:47:21 +0000 Subject: SIGCLD -> SIGCHLD. svn path=/trunk/; revision=628 --- daemon.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'daemon.c') diff --git a/daemon.c b/daemon.c index 853094d9..0e48ffb1 100644 --- a/daemon.c +++ b/daemon.c @@ -35,15 +35,15 @@ #endif /* BSD portability hack */ -#if !defined(SIGCLD) && defined(SIGCHLD) -#define SIGCLD SIGCHLD +#if !defined(SIGCHLD) && defined(SICHLD) +#define SIGCHLD SIGCLD #endif #include "fetchmail.h" RETSIGTYPE sigchld_handler (int sig) -/* process SIGCHLD/SIGCLD to obtain the exit code of the terminating process */ +/* process SIGCHLD to obtain the exit code of the terminating process */ { pid_t pid; @@ -178,7 +178,7 @@ nottyDetach: #endif /* set up to catch child process termination signals */ - signal(SIGCLD, sigchld_handler); + signal(SIGCHLD, sigchld_handler); #if defined(SIGPWR) signal(SIGPWR, sigchld_handler); #endif -- cgit v1.2.3