aboutsummaryrefslogtreecommitdiffstats
path: root/daemon.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-12-12 17:47:21 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-12-12 17:47:21 +0000
commit7b8d0a9b5c1af632c9c01e69a6db90ff1ffc9719 (patch)
treee2eb28e4c361c68c9d3acab4931d0f24e6edd43b /daemon.c
parente02bf8289a870ac12b275ba2dc8d3ca46e5e2233 (diff)
downloadfetchmail-7b8d0a9b5c1af632c9c01e69a6db90ff1ffc9719.tar.gz
fetchmail-7b8d0a9b5c1af632c9c01e69a6db90ff1ffc9719.tar.bz2
fetchmail-7b8d0a9b5c1af632c9c01e69a6db90ff1ffc9719.zip
SIGCLD -> SIGCHLD.
svn path=/trunk/; revision=628
Diffstat (limited to 'daemon.c')
-rw-r--r--daemon.c8
1 files changed, 4 insertions, 4 deletions
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