]> Pileus Git - ~andy/fetchmail/commitdiff
Fix the illegal-terminal problem.
authorEric S. Raymond <esr@thyrsus.com>
Sat, 24 Aug 1996 17:22:15 +0000 (17:22 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Sat, 24 Aug 1996 17:22:15 +0000 (17:22 -0000)
svn path=/trunk/; revision=62

daemon.c
fetchmail.c

index 89ccdcd66cb6a2396a45cc39a2eb4187d6a05ef9..56de2deb0a5debf344b0a84e0ec6a678f4e3c2ba 100644 (file)
--- a/daemon.c
+++ b/daemon.c
@@ -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;
 
index 8ed8f67be68de07e43f5fb55cc6e44989f53c27b..99a81e68cfc767d9cf48b91b2b342d7613bd4d5a 100644 (file)
@@ -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 */