From f5ef12ef83f93b8325420aeff41134d971d1f779 Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Fri, 6 Feb 2009 15:09:54 -0500 Subject: [PATCH] DO_NOT_POLL_MASTER is never defined. --- src/attacher.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/attacher.c b/src/attacher.c index dfe111b..5db238f 100644 --- a/src/attacher.c +++ b/src/attacher.c @@ -403,9 +403,7 @@ int how; } -#if defined(DEBUG) || !defined(DO_NOT_POLL_MASTER) static int AttacherPanic = 0; -#endif #ifdef DEBUG static sigret_t @@ -595,7 +593,6 @@ Attacher() #endif for (;;) { -#ifndef DO_NOT_POLL_MASTER signal(SIGALRM, AttacherSigAlarm); alarm(15); pause(); @@ -605,10 +602,6 @@ Attacher() debug1("attacher: Panic! MasterPid %d does not exist.\n", MasterPid); AttacherPanic++; } -#else - pause(); -#endif -#if defined(DEBUG) || !defined(DO_NOT_POLL_MASTER) if (AttacherPanic) { fcntl(0, F_SETFL, 0); @@ -616,7 +609,6 @@ Attacher() printf("\nSuddenly the Dungeon collapses!! - You die...\n"); eexit(1); } -#endif #ifdef BSDJOBS if (SuspendPlease) { -- 2.11.4.GIT