diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-08-24 17:22:15 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-08-24 17:22:15 +0000 |
commit | 50e8e4f84675b083592fcbe935cc5a04a75386c8 (patch) | |
tree | 7b46397de5e3c6f7e99a80c6620b1b3b3b525131 | |
parent | edacc32d007ba8dd0cb61f0c3daea81622a8b350 (diff) | |
download | fetchmail-50e8e4f84675b083592fcbe935cc5a04a75386c8.tar.gz fetchmail-50e8e4f84675b083592fcbe935cc5a04a75386c8.tar.bz2 fetchmail-50e8e4f84675b083592fcbe935cc5a04a75386c8.zip |
Fix the illegal-terminal problem.
svn path=/trunk/; revision=62
-rw-r--r-- | daemon.c | 7 | ||||
-rw-r--r-- | fetchmail.c | 2 |
2 files changed, 1 insertions, 8 deletions
@@ -34,8 +34,6 @@ #include "popclient.h" -static void (*my_termhook)(int); - /****************************************************************** function: sigchld_handler description: Process the SIGCHLD (a.k.a SIGCLD) signal by calling @@ -58,9 +56,6 @@ sigchld_handler () int status; #endif - if (my_termhook) - (*my_termhook)(SIGCHLD); - #if defined(HAVE_WAIT3) while ((pid = wait3(&status, WNOHANG, (struct rusage *) 0)) > 0) ; /* swallow 'em up. */ @@ -101,8 +96,6 @@ void (*termhook)(int); /* if we are started by init (process 1) via /etc/inittab we needn't bother to detach from our process group context */ - my_termhook = termhook; - if (getppid() == 1) goto nottyDetach; diff --git a/fetchmail.c b/fetchmail.c index 8ed8f67b..99a81e68 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -39,7 +39,7 @@ #include "popclient.h" /* release info */ -#define RELEASE_TAG "3.05" +#define RELEASE_TAG "3.1" #ifdef HAVE_PROTOTYPES /* prototypes for internal functions */ |